feat: add otp and hashing modules

This commit is contained in:
2026-02-21 09:10:45 +03:30
parent e657264807
commit 20c89c472c
12 changed files with 1122 additions and 1298 deletions
+3
View File
@@ -2,6 +2,7 @@ import {
Column,
CreateDateColumn,
Entity,
Index,
PrimaryGeneratedColumn,
UpdateDateColumn,
} from 'typeorm';
@@ -25,6 +26,7 @@ export class User {
})
lastName?: string;
@Index({ unique: true })
@Column({
type: 'varchar',
length: 11,
@@ -37,6 +39,7 @@ export class User {
type: 'varchar',
length: 96,
nullable: true,
select: false,
})
password?: string;