feat(center-auth): implement register/login/refresh/logout with bcrypt and DTO validation
This commit is contained in:
@@ -11,6 +11,9 @@ export class User {
|
||||
@Column()
|
||||
passwordHash!: string;
|
||||
|
||||
@Column({ type: 'varchar', length: 255, nullable: true })
|
||||
refreshTokenHash!: string | null;
|
||||
|
||||
@CreateDateColumn()
|
||||
createdAt!: Date;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user