|
Lines 166-177
Link Here
|
| 166 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |
166 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |
| 167 |
[% END # /IF GoogleOpenIDConnect %] |
167 |
[% END # /IF GoogleOpenIDConnect %] |
| 168 |
[% IF ( Koha.Preference('OIDC') == 1 ) %] |
168 |
[% IF ( Koha.Preference('OIDC') == 1 ) %] |
| 169 |
[% IF ( invalidOIDCLogin ) %] |
169 |
<div class="oidc-generic"> |
| 170 |
<h2>OpenID login</h2> |
170 |
[% IF ( invalidOIDCLogin ) %] |
| 171 |
<p>Sorry, your login using [% Koha.Preference('OIDCProviderName') | html %] failed. <span class="error">[% invalidOIDCLogin | html %]</span></p> |
171 |
<h2>[% Koha.Preference('OIDCProviderName') | html %] login</h2> |
| 172 |
<p>Please note that the login will only work if you are using the e-mail address registered with this library.</p> |
172 |
<p>Sorry, your login using [% Koha.Preference('OIDCProviderName') | html %] failed. <span class="error">[% invalidOIDCLogin | html %]</span></p> |
| 173 |
[% END %] |
173 |
<p>Please note that the login will only work if you are using the e-mail address registered with this library.</p> |
| 174 |
<a href="/cgi-bin/koha/svc/auth/openidconnect" class="btn btn-light" id="oidc">Log in with [% Koha.Preference('OIDCProviderName') | html %]</a> |
174 |
[% END %] |
|
|
175 |
<a href="/cgi-bin/koha/svc/auth/openidconnect" class="btn btn-light" id="oidc">Log in with [% Koha.Preference('OIDCProviderName') | html %]</a> |
| 176 |
</div> |
| 175 |
[% END # /IF OIDC %] |
177 |
[% END # /IF OIDC %] |
| 176 |
[% END # /UNLESS OPACShibOnly %] |
178 |
[% END # /UNLESS OPACShibOnly %] |
| 177 |
|
179 |
|