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=2eda8d02e83b20a0d3f33a53ef5b3fbebda355e3;p=evergreen%2Fmasslnc.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 Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/templates/opac/password_reset.tt2 b/Open-ILS/src/templates/opac/password_reset.tt2 index 144678ec74..44f24c6081 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 %]