Skip to content

Commit 9e0d17c

Browse files
committed
redirect to reset password update to occur on the same page
1 parent db570ed commit 9e0d17c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sormas-ui/src/main/java/de/symeda/sormas/ui/user/UserController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public void buttonClick(ClickEvent event) {
302302
}
303303
}, ValoTheme.BUTTON_LINK);
304304
}
305-
305+
306306
public ConfirmationComponent getResetPasswordConfirmationComponent(
307307
String userUuid,
308308
String userEmail,
@@ -516,8 +516,8 @@ public void buttonClick(ClickEvent event) {
516516
}
517517
else if (authenticationProvider.equalsIgnoreCase(AuthProvider.KEYCLOAK)) {
518518
String resetUrl = buildKeycloakForgotPasswordUrl();
519-
Page.getCurrent().open(resetUrl, "_blank");
520-
}
519+
Page.getCurrent().setLocation(resetUrl);
520+
}
521521
}
522522
}, ValoTheme.BUTTON_LINK);
523523
}

0 commit comments

Comments
 (0)