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