Skip to content

Commit

Permalink
Hiding change password dialog on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
surajeaton committed Sep 11, 2023
1 parent 4366a94 commit 62504e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions login-workflow/example/src/components/ChangePassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const ChangePassword = (): JSX.Element => {
const app = useApp();
const navigate = useNavigate();
const logOut = (): void => {
app.setShowChangePasswordDialog(false);
LocalStorage.clearAuthCredentials();
app.onUserNotAuthenticated();
navigate('/login');
Expand Down

0 comments on commit 62504e3

Please sign in to comment.