Compare commits
No commits in common. "63216f3b66ad1af077fa771a7e0966f04f404d99" and "ded577f40acb67424b150fbf35cb117ec1b75d0e" have entirely different histories.
63216f3b66
...
ded577f40a
@ -1,36 +0,0 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
|
|
||||||
namespace Mirea.Api.Dto.Requests;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Request model for creating a user.
|
|
||||||
/// </summary>
|
|
||||||
public class CreateUserRequest
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets the email address of the user.
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// The email address is a required field.
|
|
||||||
/// </remarks>
|
|
||||||
[Required]
|
|
||||||
public required string Email { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets the username of the user.
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// The username is a required field.
|
|
||||||
/// </remarks>
|
|
||||||
[Required]
|
|
||||||
public required string Username { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets the password of the user.
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// The password is a required field.
|
|
||||||
/// </remarks>
|
|
||||||
[Required]
|
|
||||||
public required string Password { get; set; }
|
|
||||||
}
|
|
@ -27,7 +27,6 @@ namespace Mirea.Api.Endpoint.Controllers.Configuration;
|
|||||||
[ApiVersion("1.0")]
|
[ApiVersion("1.0")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[MaintenanceModeIgnore]
|
[MaintenanceModeIgnore]
|
||||||
[ApiExplorerSettings(IgnoreApi = true)]
|
|
||||||
public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigureService notConfigureService, IMemoryCache cache) : BaseController
|
public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigureService notConfigureService, IMemoryCache cache) : BaseController
|
||||||
{
|
{
|
||||||
private const string CacheGeneralKey = "config_general";
|
private const string CacheGeneralKey = "config_general";
|
||||||
|
Loading…
Reference in New Issue
Block a user