mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +00:00
feat: start using refresh tokens and better session handler
This commit is contained in:
@@ -34,6 +34,10 @@ class User extends Model<User> {
|
||||
@Column
|
||||
passwordHash: string;
|
||||
|
||||
@Default(0)
|
||||
@Column
|
||||
tokenVersion: number;
|
||||
|
||||
@Default("admin")
|
||||
@Column
|
||||
profile: string;
|
||||
|
||||
Reference in New Issue
Block a user