- tweak: refactor funny
This commit is contained in:
8
Nebula.Shared/Models/Auth/AuthenticateRequest.cs
Normal file
8
Nebula.Shared/Models/Auth/AuthenticateRequest.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Nebula.Shared.Models.Auth;
|
||||
|
||||
public sealed record AuthenticateRequest(string? Username, Guid? UserId, string Password, string? TfaCode = null)
|
||||
{
|
||||
public AuthenticateRequest(string username, string password) : this(username, null, password)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user