From: Terran McCanna Date: Wed, 17 Nov 2021 22:28:21 +0000 (-0500) Subject: Local fix for duplicate login form in OPAC X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=185e055a909f1860ef43ce3cf8c56b69e1e6eec4;p=evergreen%2Fpines.git Local fix for duplicate login form in OPAC Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/login/form.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/login/form.tt2 index 182733a291..6b51fa8100 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/login/form.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/login/form.tt2 @@ -22,12 +22,12 @@
-
-
@@ -42,7 +42,7 @@
[% IF reset_password == 'true' %] @@ -63,60 +63,6 @@
-
-
-
-
- -
-
-
-
- -
- -
-
- -
- [% IF reset_password == 'true' %] - [% l('Forgot Your Password?') %] - [% END %] -
- -
-
- - -
- -
-
- [% - redirect = CGI.param('redirect_to'); - # Don't use referer unless we got here from elsewhere within the TPAC - IF !redirect AND ctx.referer.match('^https?://' _ ctx.hostname _ ctx.opac_root); - redirect = ctx.referer; - END; - # If no redirect is offered or it's leading us back to the - # login form, redirect the user to My Account - IF !redirect OR redirect.match(ctx.path_info _ '$'); - redirect = CGI.url('-full' => 1) _ '/opac/myopac/main'; - END; - redirect = redirect | replace('^http:', 'https:'); - %] - - -