feat: compact logout-time cell and optional login block after logout time
Owners set the daily logout time in a modal and can block re-login until the next Tehran day.
This commit is contained in:
@@ -95,6 +95,11 @@ export class UpdateLogoutTimeDto {
|
||||
@IsString()
|
||||
@Matches(/^([01]\d|2[0-3]):[0-5]\d$/, { message: 'ساعت خروج معتبر نیست' })
|
||||
logoutTime?: string | null;
|
||||
|
||||
/** بدون مقدار = بدون تغییر */
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
blockLoginAfterLogout?: boolean;
|
||||
}
|
||||
|
||||
export class UpdateUserVisibilityDto {
|
||||
|
||||
Reference in New Issue
Block a user