hash refresh token

This commit is contained in:
2025-12-06 22:51:34 +03:30
parent 46470f73d0
commit 6c62c8badc
2 changed files with 11 additions and 4 deletions
@@ -10,7 +10,7 @@ export enum RefreshTokenType {
@Entity({ tableName: 'refreshtokens' })
export class RefreshToken extends BaseEntity {
@Property({ type: 'varchar', length: 255 })
token!: string;
hashedToken!: string;
@Property()
ownerId!: string;