Skip to content

update[AuthController]: updated the text of the privacy policy for be… #74

Merged
merged 1 commit into from
Apr 21, 2026
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/main/java/edu/group5/app/control/AuthController.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ public void handleSignUp(SignUpPageView view, String firstName, String lastName,
privacyPolicy.setHeaderText("Accept Privacy Policy");
privacyPolicy.setContentText(
"Your user information like:\n" +
"Name and email—as well as donations tied to your account—will be saved locally on your machine.\n" +
"By creating an account, you accept the right of our app to store this information.");
"Name and email—as well as donations tied to your account—will be saved locally on your machine.\n" +
"This information is only used to create your account, and no data will be sold to third parties.\n" +
"By creating an account, you accept the right of our app to store this information on your computer.");

if (privacyPolicy.showAndWait().orElse(ButtonType.CANCEL) == ButtonType.OK) {
boolean success = userService.registerUser(
Expand Down