X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fauth.tt;h=164ed907fb01d96c0e25d9117cd920b61c6f9203;hb=66fdd41bdbdb636b36355eb21bc8afa4d1c9c1f4;hp=b46a5425f5fc31e5ed74c820b96b1273d7fc6842;hpb=a3e047f638ac7e6095d56c064f0e6cb8038a8524;p=srvgit
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
index b46a5425f5..164ed907fb 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
@@ -1,18 +1,26 @@
[% USE raw %]
+[% USE Asset %]
[% USE Koha %]
[% USE Branches %]
+[% USE Desks %]
[% USE Categories %]
+[% USE Registers %]
+[% USE AuthClient %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
-
Koha ›
- [% IF ( nopermission ) %]Access denied[% END %]
- [% IF ( timed_out ) %]Session timed out[% END %]
- [% IF ( different_ip ) %]IP address change[% END %]
+
+ [% IF TwoFA_prompt %]Two-factor authentication[% END %]
+ [% IF TwoFA_setup %]Two-factor authentication setup[% END %]
+ [% IF ( loginprompt ) %]Log in to Koha[% END %]
[% IF too_many_login_attempts %]This account has been locked.
[% ELSIF invalid_username_or_password %]Invalid username or password[% END %]
- [% IF ( loginprompt ) %]Log in to Koha[% END %]
+ [% IF ( different_ip ) %]IP address change[% END %]
+ [% IF ( timed_out ) %]Session timed out[% END %]
+ [% IF ( nopermission ) %]Access denied[% END %]
+ [% IF ( auth_error ) %]Error authenticating in external provider[% END %] › Koha
[% INCLUDE 'doc-head-close.inc' %]
+[% PROCESS 'auth-two-factor.inc' %]
@@ -46,71 +54,156 @@
[% IF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %]
You must reset your password.
[% END %]
+[% ELSIF password_has_expired %]
+
Error: Your password has expired!
+ [% IF Koha.Preference('EnableExpiredPasswordReset') && Koha.Preference('OpacBaseURL') %]
+ You must reset your password.
+ [% ELSIF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %]
+ You must reset your password.
+ [% ELSE %]
+
You must contact the library to reset your password
+ [% END %]
[% ELSIF invalid_username_or_password %]
Error: Invalid username or password
[% END %]
+[% IF auth_error %]
+
+
There was an error authenticating to external identity provider
+
[% auth_error | html %]
+
+[% END %]
+
[% IF (shibbolethAuthentication) %]
[% IF (invalidShibLogin ) %]
Error: Shibboleth login failed
[% END %]
-
If you have a shibboleth account, please click here to login.