refractor(auth): removed password from everywhere

This commit is contained in:
gabdevele
2026-06-16 11:53:22 +02:00 Unverified
parent bb50b5ca6a
commit b75e7bbafd
9 changed files with 37 additions and 359 deletions
-13
View File
@@ -29,7 +29,6 @@ export interface CurrentUser {
email: string;
fiscal_code: string;
points: number;
must_change_password: boolean;
role: string;
roles: string[];
permissions: string[];
@@ -45,7 +44,6 @@ export interface AdminUser {
phone?: string;
banned?: boolean;
points?: number;
must_change_password?: boolean;
roles?: string; // Comma-separated
}
@@ -191,23 +189,12 @@ export interface RegisterCitizenRequest {
first_name: string;
last_name: string;
email: string;
password: string;
fiscal_code: string;
phone?: string;
birth_date?: string;
birth_place?: string;
}
export interface PasswordLoginRequest {
email: string;
password: string;
}
export interface ChangePasswordRequest {
current_password: string;
new_password: string;
}
export interface UpdateProfileRequest {
first_name?: string;
last_name?: string;