refractor(auth): removed password from everywhere
This commit is contained in:
Vendored
-13
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user