mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Merge pull request #2359 from Bond-009/username
Allow changing capitalization of usernames
This commit is contained in:
commit
fe325a6e73
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ namespace Emby.Server.Implementations.Library
|
|||
throw new ArgumentException("Invalid username", nameof(newName));
|
||||
}
|
||||
|
||||
if (user.Name.Equals(newName, StringComparison.OrdinalIgnoreCase))
|
||||
if (user.Name.Equals(newName, StringComparison.Ordinal))
|
||||
{
|
||||
throw new ArgumentException("The new and old names must be different.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue