Lines 79-85
Link Here
|
79 |
<!-- This is what is displayed if shibboleth login has failed to match a koha user --> |
79 |
<!-- This is what is displayed if shibboleth login has failed to match a koha user --> |
80 |
<div class="alert alert-info"> |
80 |
<div class="alert alert-info"> |
81 |
<p>Sorry, your Shibboleth identity does not match a valid library identity.</p> |
81 |
<p>Sorry, your Shibboleth identity does not match a valid library identity.</p> |
82 |
[% UNLESS ( Koha.Preference('opacShibOnly') ) %] |
82 |
[% UNLESS ( Koha.Preference('OPACShibOnly') ) %] |
83 |
[% IF ( casAuthentication ) %] |
83 |
[% IF ( casAuthentication ) %] |
84 |
[% IF ( invalidCasLogin ) %] |
84 |
[% IF ( invalidCasLogin ) %] |
85 |
<!-- This is what is displayed if cas login has failed --> |
85 |
<!-- This is what is displayed if cas login has failed --> |
Lines 96-102
Link Here
|
96 |
<h3>Shibboleth Login</h3> |
96 |
<h3>Shibboleth Login</h3> |
97 |
<p><a href="[% shibbolethLoginUrl | $raw %]">If you have a Shibboleth account, please click here to log in.</a></p> |
97 |
<p><a href="[% shibbolethLoginUrl | $raw %]">If you have a Shibboleth account, please click here to log in.</a></p> |
98 |
[% END # /IF invalidShibLogin %] |
98 |
[% END # /IF invalidShibLogin %] |
99 |
[% UNLESS ( Koha.Preference('opacShibOnly') ) %] |
99 |
[% UNLESS ( Koha.Preference('OPACShibOnly') ) %] |
100 |
[% IF ( casAuthentication ) %] |
100 |
[% IF ( casAuthentication ) %] |
101 |
<h3>CAS login</h3> |
101 |
<h3>CAS login</h3> |
102 |
<p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p> |
102 |
<p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p> |
Lines 107-113
Link Here
|
107 |
[% END %] |
107 |
[% END %] |
108 |
[% END # /IF shibbolethAuthentication %] |
108 |
[% END # /IF shibbolethAuthentication %] |
109 |
|
109 |
|
110 |
[% UNLESS ( Koha.Preference('opacShibOnly') ) %] |
110 |
[% UNLESS ( Koha.Preference('OPACShibOnly') ) %] |
111 |
[% IF ( casAuthentication ) %] |
111 |
[% IF ( casAuthentication ) %] |
112 |
[% IF ( shibbolethAuthentication ) %] |
112 |
[% IF ( shibbolethAuthentication ) %] |
113 |
[% IF ( casServerUrl ) %] |
113 |
[% IF ( casServerUrl ) %] |
Lines 163-171
Link Here
|
163 |
<a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a> |
163 |
<a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a> |
164 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |
164 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |
165 |
[% END # /IF GoogleOpenIDConnect %] |
165 |
[% END # /IF GoogleOpenIDConnect %] |
166 |
[% END # /UNLESS opacShibOnly %] |
166 |
[% END # /UNLESS OPACShibOnly %] |
167 |
|
167 |
|
168 |
[% IF !Koha.Preference('opacShibOnly') or SCO_login or SCI_login %] |
168 |
[% IF !Koha.Preference('OPACShibOnly') or SCO_login or SCI_login %] |
169 |
[% IF SCO_login %] |
169 |
[% IF SCO_login %] |
170 |
<form action="/cgi-bin/koha/sco/sco-main.pl" name="auth" id="auth" method="post" autocomplete="off"> |
170 |
<form action="/cgi-bin/koha/sco/sco-main.pl" name="auth" id="auth" method="post" autocomplete="off"> |
171 |
[% ELSIF SCI_login %] |
171 |
[% ELSIF SCI_login %] |
Lines 215-221
Link Here
|
215 |
[% END %] |
215 |
[% END %] |
216 |
</div> |
216 |
</div> |
217 |
</form> |
217 |
</form> |
218 |
[% END # / IF !opacShibOnly or SCO_login or SCI_login %] |
218 |
[% END # / IF !OPACShibOnly or SCO_login or SCI_login %] |
219 |
[% END # / IF loginprompt %] |
219 |
[% END # / IF loginprompt %] |
220 |
|
220 |
|
221 |
[% ELSE %] |
221 |
[% ELSE %] |
222 |
- |
|
|