Revert "Merge pull request #13604 from Jxiced/master"

This reverts commit ce78af2ed4, reversing
changes made to db7465e83d.
This commit is contained in:
Bond_009
2025-08-06 15:49:40 +02:00
parent 6d4efe6523
commit c7c7b30d28
4 changed files with 5 additions and 14 deletions

View File

@@ -744,8 +744,7 @@ namespace Jellyfin.Server.Implementations.Users
_users[user.Id] = user;
}
/// <inheritdoc/>
public void ThrowIfInvalidUsername(string name)
internal static void ThrowIfInvalidUsername(string name)
{
if (!string.IsNullOrWhiteSpace(name) && ValidUsernameRegex().IsMatch(name))
{