FIX:: Fixed small typing error in alert

This commit is contained in:
Merel Steenbergen
2019-04-04 18:51:04 +00:00
parent 7ac5b1efda
commit 4fa2707add

View File

@@ -233,7 +233,7 @@ public class RegisterWindowController {
userService.registerUser(userNameText.getText(), passwordField.getText());
}
catch(RuntimeException ex){
UserController.AlertHelper.showAlert(Alert.AlertType.ERROR, owner, "Password Error!",
UserController.AlertHelper.showAlert(Alert.AlertType.ERROR, owner, "Username Error!",
"This username has already been taken!");
return;
}