mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-02 07:59:56 -04:00
private: removes collision check for tokens
this seems very unnecessary as the chance of this is 1 / 2^512 Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
97f7128355
commit
324ba71d24
3 changed files with 10 additions and 26 deletions
|
@ -22,7 +22,7 @@ export class AuthToken {
|
|||
@CreateDateColumn()
|
||||
createdAt: Date;
|
||||
|
||||
@Column()
|
||||
@Column({ unique: true })
|
||||
accessToken: string;
|
||||
|
||||
public static create(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue