diff options
| author | Patrick Barron <barronpm@gmail.com> | 2020-05-29 15:32:31 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2020-05-29 15:32:31 -0400 |
| commit | 4857b7d62097848eda7f3666b60e039b1df5b6b1 (patch) | |
| tree | b55ac7ab439f4aebf4cc929d5b0c1924924c94eb | |
| parent | 7f8f3e09e591cdd47be6b96d64c23f4197687496 (diff) | |
Make UserManager.IsValidUsername static
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/UserManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs index 3d473f5f2..b62c64830 100644 --- a/Jellyfin.Server.Implementations/Users/UserManager.cs +++ b/Jellyfin.Server.Implementations/Users/UserManager.cs @@ -648,7 +648,7 @@ namespace Jellyfin.Server.Implementations.Users dbContext.SaveChanges(); } - private bool IsValidUsername(string name) + private static bool IsValidUsername(string name) { // This is some regex that matches only on unicode "word" characters, as well as -, _ and @ // In theory this will cut out most if not all 'control' characters which should help minimize any weirdness |
