feat: add admin authentication
This commit is contained in:
1 parent
b89853bc94
commit
bb5ccb1359
9 files changed
+85
-1
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { IsString, MinLength } from "class-validator";
|
||||
|
||||
export class AdminLoginDto {
|
||||
@IsString() username!: string;
|
||||
@IsString() @MinLength(8) password!: string;
|
||||
}
|
||||
Reference in new issue
Block a user