mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Allow changing capitalization of usernames
This commit is contained in:
parent
cd13f718fb
commit
acc1846e3e
@ -667,7 +667,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…
Reference in New Issue
Block a user