From 89c0b2d8fddfa1daac1e56db5e65203f46dc4401 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 31 Aug 2012 16:58:22 -0400 Subject: [PATCH] TPAC: Keep loc(g) around on link to password reset form Going from the login form to the password reset form, we're clearing all variables, which kills our connection to the chosen library. So keep that around. Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/parts/login/form.tt2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/login/form.tt2 b/Open-ILS/src/templates/opac/parts/login/form.tt2 index 1e23a98e40..b9ebe78dcf 100644 --- a/Open-ILS/src/templates/opac/parts/login/form.tt2 +++ b/Open-ILS/src/templates/opac/parts/login/form.tt2 @@ -1,3 +1,6 @@ +[%- + PROCESS get_library; +-%] [% IF ctx.login_failed_event %]
[% @@ -54,7 +57,7 @@
[% IF reset_password %] - [% l('Forgot your password?') %] + loc_value}, 1) %]'>[% l('Forgot your password?') %] [% END %]
-- 2.11.0