From 2eda8d02e83b20a0d3f33a53ef5b3fbebda355e3 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 9 Nov 2011 10:13:28 -0500 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/password_reset.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %]

-- 2.43.2