update token generation
This commit is contained in:
parent
fab0cc51b3
commit
735687be21
4 changed files with 5 additions and 5 deletions
|
@ -255,8 +255,8 @@ export class User {
|
|||
public password: string | null;
|
||||
|
||||
@Index({ unique: true })
|
||||
@Column('varchar', {
|
||||
length: 32, nullable: true, unique: true,
|
||||
@Column('char', {
|
||||
length: 16, nullable: true, unique: true,
|
||||
comment: 'The native access token of the User. It will be null if the origin of the user is local.'
|
||||
})
|
||||
public token: string | null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue