View | Details | Raw Unified | Return to bug 30988
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-1 / +3 lines)
Lines 371-377 Link Here
371
                            <p>If you do not have a Google account, but do have a local account, you can still log in: </p>
371
                            <p>If you do not have a Google account, but do have a local account, you can still log in: </p>
372
                        [% END # /IF GoogleOpenIDConnect %]
372
                        [% END # /IF GoogleOpenIDConnect %]
373
                        [% IF ( Koha.Preference('OIDC') == 1 ) %]
373
                        [% IF ( Koha.Preference('OIDC') == 1 ) %]
374
                            <a href="/cgi-bin/koha/svc/auth/openidconnect" class="btn btn-light" id="oidc">Log in with [% Koha.Preference('OIDCProviderName') | html %]</a>
374
                            <div class="oidc-generic">
375
                                <a href="/cgi-bin/koha/svc/auth/openidconnect" class="btn btn-light" id="oidc">Log in with [% Koha.Preference('OIDCProviderName') | html %]</a>
376
                            </div>
375
                        [% END # /IF OIDC %]
377
                        [% END # /IF OIDC %]
376
                        [% IF ( shibbolethAuthentication ) %]
378
                        [% IF ( shibbolethAuthentication ) %]
377
                            [% IF ( invalidShibLogin ) %]
379
                            [% IF ( invalidShibLogin ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt (-6 / +8 lines)
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
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-2 / +3 lines)
Lines 190-196 Link Here
190
                                            <p>If you do not have a Google account, but do have a local account, you can still log in: </p>
190
                                            <p>If you do not have a Google account, but do have a local account, you can still log in: </p>
191
                                        [% END # /IF GoogleOpenIDConnect %]
191
                                        [% END # /IF GoogleOpenIDConnect %]
192
                                        [% IF ( Koha.Preference('OIDC') == 1 ) %]
192
                                        [% IF ( Koha.Preference('OIDC') == 1 ) %]
193
                                            <a href="/cgi-bin/koha/svc/auth/openidconnect" class="btn btn-light" id="oidc">Log in with [% Koha.Preference('OIDCProviderName') | html %]</a>
193
                                            <div class="oidc-generic">
194
                                                <a href="/cgi-bin/koha/svc/auth/openidconnect" class="btn btn-light" id="oidc">Log in with [% Koha.Preference('OIDCProviderName') | html %]</a>
195
                                            </div>
194
                                        [% END # /IF OIDC %]
196
                                        [% END # /IF OIDC %]
195
                                        <label for="userid">Login:</label>
197
                                        <label for="userid">Login:</label>
196
                                        <input class="form-control" type="text" id="userid" name="userid" autocomplete="off" />
198
                                        <input class="form-control" type="text" id="userid" name="userid" autocomplete="off" />
197
- 

Return to bug 30988