hunk.code_window:     const isAuthenticated = await this.validatePassword(user.password, loginCredential.password, user.salt);
       if (user && isAuthenticated) {
         return user;
       }
       return null;
     }
  
hunk.labels: keep keep replace keep keep keep keep keep
hunk.after_edit:     if (isAuthenticated) {
  
hunk.file_path: server/apps/immich/src/api-v1/auth/auth.service.ts
hunk.type: replace
file: import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn } from 'typeorm';
  
  @Entity('users')
  export class UserEntity {
    @PrimaryGeneratedColumn('uuid')
    id: string;
  
    @Column()
    firstName: string;
  
    @Column()
    lastName: string;
  
    @Column()
    isAdmin: boolean;
  
    @Column()
    email: string;
  
    @Column({ select: false })
    password: string;
  
    @Column({ select: false })
    salt: string;
  
    @Column()
    profileImagePath: string;
  
    @Column()
    isFirstLoggedIn: boolean;
  
    @CreateDateColumn()
    createdAt: string;
  }
  