diff --git a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm index 56c1267a4..09c1f6160 100644 --- a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm +++ b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm @@ -19,6 +19,7 @@ sub portalConsts { '100' => 'PE_PP_NOT_ALLOWED_CHARACTER', '101' => 'PE_PP_NOT_ALLOWED_CHARACTERS', '102' => 'PE_UPGRADESESSION', + '103' => 'PE_NO_SECOND_FACTORS', '2' => 'PE_FORMEMPTY', '21' => 'PE_PP_ACCOUNT_LOCKED', '22' => 'PE_PP_PASSWORD_EXPIRED', diff --git a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/PortalConstants.pm b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/PortalConstants.pm index da720d270..3a7a05894 100644 --- a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/PortalConstants.pm +++ b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/PortalConstants.pm @@ -109,7 +109,8 @@ sub portalConstants { PE_RESETCERTIFICATE_FIRSTACCESS => 99, PE_PP_NOT_ALLOWED_CHARACTER => 100, PE_PP_NOT_ALLOWED_CHARACTERS => 101, - PE_UPGRADESESSION => 102 + PE_UPGRADESESSION => 102, + PE_NO_SECOND_FACTORS => 103 }; } diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Constants.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Constants.pm index b4386ebfc..281f14aae 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Constants.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Constants.pm @@ -106,6 +106,7 @@ use constant { PE_PP_NOT_ALLOWED_CHARACTER => 100, PE_PP_NOT_ALLOWED_CHARACTERS => 101, PE_UPGRADESESSION => 102, + PE_NO_SECOND_FACTORS => 103, }; sub portalConsts { @@ -121,6 +122,7 @@ sub portalConsts { '100' => 'PE_PP_NOT_ALLOWED_CHARACTER', '101' => 'PE_PP_NOT_ALLOWED_CHARACTERS', '102' => 'PE_UPGRADESESSION', + '103' => 'PE_NO_SECOND_FACTORS', '2' => 'PE_FORMEMPTY', '21' => 'PE_PP_ACCOUNT_LOCKED', '22' => 'PE_PP_PASSWORD_EXPIRED', @@ -313,7 +315,8 @@ our @EXPORT_OK = ( 'PE_RESETCERTIFICATE_FIRSTACCESS', 'PE_PP_NOT_ALLOWED_CHARACTER', 'PE_PP_NOT_ALLOWED_CHARACTERS', - 'PE_UPGRADESESSION' + 'PE_UPGRADESESSION', + 'PE_NO_SECOND_FACTORS' ); our %EXPORT_TAGS = ( 'all' => [ @EXPORT_OK, 'import' ], ); diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json index d6f5c5ae6..bd9c675dd 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"This service requires a double factor authentication. Register a device now, then go back to the portal.", "accept":"قبول", "accessDenied":"ليس لديك إذن بالدخول لهذا التطبيق", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/de.json b/lemonldap-ng-portal/site/htdocs/static/languages/de.json index 09d363c4e..c7e575569 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/de.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/de.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"Dieser Dienst benötigt Zwei-Faktor-Authentifizierung. Bitte legen Sie ein Gerät an und gehen dann zum Portal zurück.", "accept":"Akzeptieren", "accessDenied":"Sie haben keine Zugriffsberechtigung für diese Anwendung", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/en.json b/lemonldap-ng-portal/site/htdocs/static/languages/en.json index bca6bf020..1085a0977 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/en.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/en.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"This service requires a double factor authentication. Register a device now, then go back to the portal.", "accept":"Accept", "accessDenied":"You have no access authorization for this application", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/es.json b/lemonldap-ng-portal/site/htdocs/static/languages/es.json index b4357777f..899e31658 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/es.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/es.json @@ -91,6 +91,8 @@ "PE99":"Por favor, seleccione su nuevo certificado", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"Este servicio necesita la autenticación de dos factores. Registre un dispositivo ahora, luego reingrese al portal.", "accept":"Aceptar", "accessDenied":"No está autorizado a acceder a esta aplicación", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json index f61b48e66..576453a53 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"This service requires a double factor authentication. Register a device now, then go back to the portal.", "accept":"Hyväksy", "accessDenied":"Sinulla ei ole käyttöoikeutta tähän sovellukseen", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json index 55423c707..05a4d4e68 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json @@ -91,6 +91,8 @@ "PE99":"Veuillez sélectionner votre nouveau certificat", "PE100":"Le mot de passe contient un caractère interdit", "PE101":"Le mot de passe contient des caractères interdits", +"PE102":"Mise à niveau de la session", +"PE103":"Aucun second facteur disponible pour votre compte", "2fRegRequired":"Ce service requiert une authentification à deux facteurs. Enregistrez un équipement ici et retournez au portail.", "accept":"Accepter", "accessDenied":"Vous n'avez pas les droits d'accès à cette application", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/it.json b/lemonldap-ng-portal/site/htdocs/static/languages/it.json index 3d8515f48..ae1c1d7bc 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/it.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/it.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"Questo servizio richiede un'autenticazione a doppio fattore. Registrare un dispositivo ora, quindi tornare al portale.", "accept":"Accetta", "accessDenied":"Non hai un'autorizzazione di accesso per questa applicazione", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json index 542c37054..521b6f8fe 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"This service requires a double factor authentication. Register a device now, then go back to the portal.", "accept":"Accept", "accessDenied":"You have no access authorization for this application", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json index 4a38757ac..9fb9a7a7f 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json @@ -91,6 +91,8 @@ "PE99":"Wybierz nowy certyfikat", "PE100":"Hasło zawiera niedozwolony znak", "PE101":"Hasło zawiera niedozwolone znaki", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"Ta usługa wymaga podwójnego uwierzytelnienia. Zarejestruj urządzenie 2ndFA teraz, a następnie wróć do portalu.", "accept":"Akceptuj", "accessDenied":"Nie masz dostępu do tej aplikacji", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json index 35aa724c4..c512cd668 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"This service requires a double factor authentication. Register a device now, then go back to the portal.", "accept":"Accept", "accessDenied":"You have no access authorization for this application", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json index 8b8025180..6a7346cd4 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"This service requires a double factor authentication. Register a device now, then go back to the portal.", "accept":"Accept", "accessDenied":"You have no access authorization for this application", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json index ce1661e1d..12a9087ce 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json @@ -91,6 +91,8 @@ "PE99":"Lütfen yeni sertifikanızı seçin", "PE100":"Parola izin verilmeyen karakter içeriyor", "PE101":"Parola izin verilmeyen karakterler içeriyor", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"Bu servis iki adımlı kimlik doğrulama gerektiriyor. Şimdi bir cihaz ekleyin ve ardından portala geri dönün", "accept":"Kabul Et", "accessDenied":"Bu uygulamaya erişim yetkiniz yok", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json index c6bf39d61..2fe19fc93 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"This service requires a double factor authentication. Register a device now, then go back to the portal.", "accept":"Chấp nhận", "accessDenied":"Bạn không có quyền truy cập vào ứng dụng này", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json index faf785277..8d28ffdb7 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json @@ -91,6 +91,8 @@ "PE99":"Please select your new certificate", "PE100":"Password contains not allowed character", "PE101":"Password contains not allowed characters", +"PE102":"Session must be upgraded", +"PE103":"No second factors available for your account", "2fRegRequired":"This service requires a double factor authentication. Register a device now, then go back to the portal.", "accept":"Accept 方法", "accessDenied":"您无权访问此应用",