Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit ff0d712

Browse files
SORMAS-Foundation#3201 change CLIMEDO redirect URL, use auth token
1 parent bd5e7dd commit ff0d712

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/contact/ContactController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,8 @@ public void registerPatientDiaryPerson(PersonDto person) {
575575

576576
private void openPatientDiaryEnrollPage(String personUuid) {
577577
String url = FacadeProvider.getConfigFacade().getPatientDiaryConfig().getUrl();
578-
url += "/enroll?personUuid=" + personUuid;
578+
String authToken = externalJournalFacade.getPatientDiaryAuthToken();
579+
url += "/data?q=" + personUuid + "&token=" + authToken;
579580
UI.getCurrent().getPage().open(url, "_blank");
580581
}
581582

0 commit comments

Comments
 (0)