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=8249357c2acedec88b09d4d11323363ee6e7c9ad;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 169b2ed812..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,10 +42,7 @@
- [% IF ctx.get_org_setting ( - ctx.physical_org || ctx.aou_tree.id, 'opac.allow_pending_user') %] - [% l('Request A Card') %] - [% END %] + [% l('Apply for a PINES Library Card') %]
[% IF reset_password == 'true' %] @@ -66,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:'); - %] - - -