From 7151d32f359e2220e6e356c2f71e32326dd02742 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 --- 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 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 %]

-- 2.11.0