[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2eda8d02e83b20a0d3f33a53ef5b3fbebda355e3
Evergreen Git
git at git.evergreen-ils.org
Tue Nov 15 11:42:05 EST 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 2eda8d02e83b20a0d3f33a53ef5b3fbebda355e3 (commit)
from e266917f012595f72d621b6bb1fb160ede8605f4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2eda8d02e83b20a0d3f33a53ef5b3fbebda355e3
Author: Bill Erickson <berick at esilibrary.com>
Date: Wed Nov 9 10:13:28 2011 -0500
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 <berick at esilibrary.com>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/src/templates/opac/password_reset.tt2 b/Open-ILS/src/templates/opac/password_reset.tt2
index 144678e..44f24c6 100644
--- a/Open-ILS/src/templates/opac/password_reset.tt2
+++ b/Open-ILS/src/templates/opac/password_reset.tt2
@@ -27,7 +27,7 @@
<p class='[% ctx.pwreset.style %]'>[% stat = ctx.pwreset.status; msg_map.$stat %]</p>
[% IF uuid %]
[% IF stat == 'SUCCESS' %]
- <p><a href='[% mkurl(ctx.opac_root _ '/login', {}, 1) %]'>[% l('Log in to My Account') %]</a>
+ <p><a href='[% mkurl(ctx.opac_root _ '/myopac/main', {}, 1) %]'>[% l('Log in to My Account') %]</a>
[% ELSE %]
<form method="post">
<input type='hidden' name='uuid' value='[% uuid | html %]'/>
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/password_reset.tt2 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list