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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt (-8 / +7 lines)
Lines 137-153 Link Here
137
                                [% END %]
137
                                [% END %]
138
138
139
                            [% END # / IF casAuthentication %]
139
                            [% END # / IF casAuthentication %]
140
														[% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
140
141
	                          [% IF ( invalidGoogleOpenIDConnectLogin ) %]
141
                                [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
142
                                  [% IF ( invalidGoogleOpenIDConnectLogin ) %]
142
                                <h4>Google login</h4>
143
                                <h4>Google login</h4>
143
                                <p>Sorry, your Google login failed. <span class="error">[% invalidGoogleOpenIDConnectLogin %]</span></p>
144
                                <p>Sorry, your Google login failed. <span class="error">[% invalidGoogleOpenIDConnectLogin %]</span></p>
144
                                <p>Please note that the Google login will only work if you are using the e-mail address registered with this library.</p>
145
                                <p>Please note that the Google login will only work if you are using the e-mail address registered with this library.</p>
145
                                <p>If you want to, you can try to <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">log in using a different account</a>
146
                                <p>If you want to, you can try to <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">log in using a different account</a>
146
	                            [% END %]
147
                                  [% END %]
147
															<a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a>
148
                                  <a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-primary" id="openid_connect">Log in with Google</a>
148
                              <p>If you don not have a Google account, but do have a local account, you can still l
149
                              <p>If you do not have a Google account, but do have a local account, you can still log in: </p>
149
og in: </p>
150
                                [% END %]
150
														[% END %]
151
151
152
                            <form action="/cgi-bin/koha/opac-user.pl" name="auth" id="auth" method="post">
152
                            <form action="/cgi-bin/koha/opac-user.pl" name="auth" id="auth" method="post">
153
                                <input type="hidden" name="koha_login_context" value="opac" />
153
                                <input type="hidden" name="koha_login_context" value="opac" />
154
- 

Return to bug 10988