fix: 自助注册租户账号仅允许字母数字
This commit is contained in:
@@ -14,6 +14,7 @@ public sealed record SelfRegisterTenantCommand : IRequest<SelfRegisterResultDto>
|
||||
/// </summary>
|
||||
[Required]
|
||||
[StringLength(64)]
|
||||
[RegularExpression("^[A-Za-z0-9]+$", ErrorMessage = "登录账号仅允许大小写字母和数字")]
|
||||
public string AdminAccount { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user