@@ -, +, @@ --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 2 +- opac/svc/auth/googleoauth2 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -60,7 +60,7 @@
Sorry, your automatic login failed. [% invalidOAuth2Login %]
Please note that automatic login will only work if you are using the emal address registered with this library.
-If you want to, you can try to login using a different account +
If you want to, you can try to login using a different account
If you can't login automatically, you can still login manually:
[% END %] --- a/opac/svc/auth/googleoauth2 +++ a/opac/svc/auth/googleoauth2 @@ -51,7 +51,7 @@ my $host = C4::Context->preference('OPACBaseURL') // ''; my $restricttodomain = C4::Context->preference('GoogleOAuth2Domain') // ''; # protocol is assumed in OPACBaseURL see bug 5010. -my $redirecturl = $host . '/cgi-bin/koha/svc/googleoauth2'; +my $redirecturl = $host . '/cgi-bin/koha/svc/auth/googleoauth2'; my $issuer = 'accounts.google.com'; my $clientid = C4::Context->preference('GoogleOAuth2ClientID'); my $clientsecret = C4::Context->preference('GoogleOAuth2ClientSecret'); --