Skip to content

Commit

Permalink
Migrate more ValidEmail parameters to User
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-adam committed Nov 6, 2024
1 parent 43f23f8 commit 8957a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signup/src/org/labkey/signup/SignUpController.java
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public boolean handlePost(SignupConfirmForm form, BindException errors) throws E
newUser.setDescription(StringUtils.isBlank(_tempUser.getOrganization()) ? "" : "Organization: " + _tempUser.getOrganization()); // don't add anything if organization is empty

// Attempt to set this new user's password and log them in
AuthenticationResult result = DbLoginService.get().attemptSetPassword(getContainer(), getUser(), form.getPassword(), form.getPassword2(), getViewContext().getRequest(), _email, PageFlowUtil.urlProvider(ProjectUrls.class).getHomeURL(), "Verified and chose a password.", true, false, errors);
AuthenticationResult result = DbLoginService.get().attemptSetPassword(getContainer(), getUser(), form.getPassword(), form.getPassword2(), getViewContext().getRequest(), newUser, PageFlowUtil.urlProvider(ProjectUrls.class).getHomeURL(), "Verified and chose a password.", true, false, errors);

if (errors.hasErrors())
return false;
Expand Down

0 comments on commit 8957a21

Please sign in to comment.