Merge branch 'master_add_auth_1027' of http://192.168.5.200:8081/ql/apismnagaer_backend into master_add_auth_1027
This commit is contained in:
@@ -4,8 +4,10 @@ namespace Apimanager_backend.Dtos
|
||||
{
|
||||
public class UserLoginDto
|
||||
{
|
||||
[MaxLength(20)]
|
||||
[MaxLength(20,ErrorMessage = "The maximum username is 20 characters")]
|
||||
public string UserName { get; set; }
|
||||
[MaxLength(50,ErrorMessage = "The maximum password is 50 characters")]
|
||||
[Required(ErrorMessage = "password is required")]
|
||||
public string Password { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user