From e7bc86ebb8496615e0b3f73eb4f13ab4c0913dc8 Mon Sep 17 00:00:00 2001 From: Jxiced Date: Sun, 23 Feb 2025 22:16:35 +0000 Subject: Move throw into interface to use in wizard, check for null and invalid username. --- MediaBrowser.Controller/Library/IUserManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MediaBrowser.Controller/Library/IUserManager.cs') diff --git a/MediaBrowser.Controller/Library/IUserManager.cs b/MediaBrowser.Controller/Library/IUserManager.cs index 1c115be85..a4bd0f69e 100644 --- a/MediaBrowser.Controller/Library/IUserManager.cs +++ b/MediaBrowser.Controller/Library/IUserManager.cs @@ -33,6 +33,12 @@ namespace MediaBrowser.Controller.Library /// The users ids. IEnumerable UsersIds { get; } + /// + /// Checks if the user's username is valid. + /// + /// The user's username. + void ThrowIfInvalidUsername(string name); + /// /// Initializes the user manager and ensures that a user exists. /// -- cgit v1.2.3