hash refresh token
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user