ref #45
This commit is contained in:
		@@ -106,7 +106,7 @@ export class User extends Principal {
 | 
			
		||||
  * 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.
 | 
			
		||||
  */
 | 
			
		||||
  @Column({ nullable: true, unique: true })
 | 
			
		||||
  @Column({ nullable: true, unique: false })
 | 
			
		||||
  @IsString()
 | 
			
		||||
  @IsOptional()
 | 
			
		||||
  profilePic?: string;
 | 
			
		||||
@@ -115,7 +115,7 @@ export class User extends Principal {
 | 
			
		||||
  * The last time the user requested a password reset.
 | 
			
		||||
  * Used to prevent spamming of the password reset route.
 | 
			
		||||
  */
 | 
			
		||||
  @Column({ nullable: true, unique: true })
 | 
			
		||||
  @Column({ nullable: true, unique: false })
 | 
			
		||||
  @IsString()
 | 
			
		||||
  @IsOptional()
 | 
			
		||||
  resetRequestedTimestamp?: number;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user