From: Bill Erickson Date: Wed, 9 Nov 2011 15:13:28 +0000 (-0500) Subject: Tpac; repair login link after password reset X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fberick%2Ftpac-post-password-reset-login-fix;p=working%2FEvergreen.git Tpac; repair login link after password reset After a successful password reset, the UI offers a link to "Log In to My Account". Loging in this way would ultimately redirect the user back to the password reset form. This patch updates the Log In link to point to myopac/main, which will direct the user to log in first, instead of pointing directly to /login, which, lacking any other information, will return the user to the referer after logging in. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/opac/password_reset.tt2 b/Open-ILS/src/templates/opac/password_reset.tt2 index b0533acd17..53835ed6b5 100644 --- a/Open-ILS/src/templates/opac/password_reset.tt2 +++ b/Open-ILS/src/templates/opac/password_reset.tt2 @@ -27,7 +27,7 @@

[% stat = ctx.pwreset.status; msg_map.$stat %]

[% IF uuid %] [% IF stat == 'SUCCESS' %] -

[% l('Log in to My Account') %] +

[% l('Log in to My Account') %] [% ELSE %]