noice
This commit is contained in:
@@ -12,7 +12,7 @@ namespace OwnChar.Manager
|
||||
public UserAccount? CurrentUser { get; private set; }
|
||||
|
||||
// Data Provider
|
||||
public IDataProxy? DataProxy { get; set; }
|
||||
public IDataManager? DataProxy { get; set; }
|
||||
|
||||
// Manager
|
||||
public UserManager Users { get; }
|
||||
@@ -36,7 +36,7 @@ namespace OwnChar.Manager
|
||||
/// Tries to login on the given data provider.
|
||||
/// </summary>
|
||||
/// <returns>Returns <see cref="true"/> if the login was successfull and <see cref="false"/> if not.</returns>
|
||||
public bool Login(IDataProxy? proxy, string? username, SecureString? password)
|
||||
public bool Login(IDataManager? proxy, string? username, SecureString? password)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(proxy, nameof(proxy));
|
||||
ArgumentException.ThrowIfNullOrWhiteSpace(username, nameof(username));
|
||||
|
||||
Reference in New Issue
Block a user