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 <dscott@laurentian.ca>
+[%-
+ PROCESS get_library;
+-%]
[% IF ctx.login_failed_event %]
<div id='login-failed-message'>
[%
<div style="padding-top: 1em; margin-right: 1em;">
<input type="submit" value="[% l('Log in') %]" alt="[% l('Log in') %]" class="opac-button" />
[% IF reset_password %]
- <a href='[% mkurl(ctx.opac_root _ '/password_reset', {}, 1) %]'>[% l('Forgot your password?') %]</a>
+ <a href='[% mkurl(ctx.opac_root _ '/password_reset', {$loc_name => loc_value}, 1) %]'>[% l('Forgot your password?') %]</a>
[% END %]
</div>
</td>