feat(auth): allow owner to force OTP-only login per user
Team menu «ورود با کد» blocks password login with a clear message and switches the login screen to OTP.
This commit is contained in:
@@ -81,6 +81,12 @@ export class UpdateUserStatusDto {
|
||||
isActive!: boolean;
|
||||
}
|
||||
|
||||
export class UpdateUserLoginOtpOnlyDto {
|
||||
@Type(() => Boolean)
|
||||
@IsBoolean()
|
||||
loginOtpOnly!: boolean;
|
||||
}
|
||||
|
||||
export class UpdateUserCommissionDto {
|
||||
@Type(() => Number)
|
||||
@IsNumber()
|
||||
|
||||
Reference in New Issue
Block a user