Skip to content

Commit

Permalink
Merge pull request #15453 from martenson/psw-reset
Browse files Browse the repository at this point in the history
[23.0] fix password reset url
  • Loading branch information
martenson committed Jan 30, 2023
2 parents 85c50aa + d075209 commit fdbe929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def send_reset_email(self, trans, payload, **kwd):
reset_user, prt = self.get_reset_token(trans, email)
if prt:
host = self.__get_host(trans)
reset_url = url_for(controller="root", action="login", token=prt.token)
reset_url = url_for(controller="login", action="start", token=prt.token)
body = PASSWORD_RESET_TEMPLATE % (
host,
prt.expiration_time.strftime(trans.app.config.pretty_datetime_format),
Expand Down

0 comments on commit fdbe929

Please sign in to comment.