chore: add change password
This commit is contained in:
@@ -33,6 +33,7 @@ export interface AuthResponse {
|
||||
telephone?: string;
|
||||
role?: string;
|
||||
session_id?: string;
|
||||
must_change_password?: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@ export function AuthProvider({ children }: { children: ReactNode }) {
|
||||
role,
|
||||
isLoading: false,
|
||||
isAuthenticated: true,
|
||||
mustChangePassword: false,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user