feature/45-auth_tests #50

Merged
niggl merged 8 commits from feature/45-auth_tests into dev 2020-12-22 19:32:22 +00:00
Showing only changes of commit a4ddeee8e4 - Show all commits

View File

@ -106,7 +106,7 @@ export class User extends Principal {
* The user's profile picture. * The user's profile picture.
* We haven't decided yet if this will be a bas64 encoded image or just a link to the profile picture. * We haven't decided yet if this will be a bas64 encoded image or just a link to the profile picture.
*/ */
@Column({ nullable: true, unique: true }) @Column({ nullable: true, unique: false })
@IsString() @IsString()
@IsOptional() @IsOptional()
profilePic?: string; profilePic?: string;
@ -115,7 +115,7 @@ export class User extends Principal {
* The last time the user requested a password reset. * The last time the user requested a password reset.
* Used to prevent spamming of the password reset route. * Used to prevent spamming of the password reset route.
*/ */
@Column({ nullable: true, unique: true }) @Column({ nullable: true, unique: false })
@IsString() @IsString()
@IsOptional() @IsOptional()
resetRequestedTimestamp?: number; resetRequestedTimestamp?: number;