feat: add admin authentication

This commit is contained in:
que01 committed 2026-09-18 16:50:35 +08:00
1 parent b89853bc94
commit bb5ccb1359
9 files changed
+85 -1

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import { IsString, MinLength } from "class-validator";
export class AdminLoginDto {
@IsString() username!: string;
@IsString() @MinLength(8) password!: string;
}