Merge pull request #2359 from Bond-009/username

Allow changing capitalization of usernames
pull/2326/head^2
dkanada 5 years ago committed by GitHub
commit fe325a6e73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save