Manager option for TOTP 2f register timeout

increase-RDBI-perf
Maxime Besson 4 years ago
parent 7de1793386
commit b0ec1fbf76
  1. 3
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Attributes.pm
  2. 4
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm
  3. 1
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Tree.pm
  4. 3
      lemonldap-ng-manager/site/htdocs/static/languages/ar.json
  5. 3
      lemonldap-ng-manager/site/htdocs/static/languages/de.json
  6. 1
      lemonldap-ng-manager/site/htdocs/static/languages/en.json
  7. 3
      lemonldap-ng-manager/site/htdocs/static/languages/es.json
  8. 1
      lemonldap-ng-manager/site/htdocs/static/languages/fr.json
  9. 3
      lemonldap-ng-manager/site/htdocs/static/languages/it.json
  10. 3
      lemonldap-ng-manager/site/htdocs/static/languages/pl.json
  11. 3
      lemonldap-ng-manager/site/htdocs/static/languages/tr.json
  12. 3
      lemonldap-ng-manager/site/htdocs/static/languages/vi.json
  13. 3
      lemonldap-ng-manager/site/htdocs/static/languages/zh.json
  14. 3
      lemonldap-ng-manager/site/htdocs/static/languages/zh_TW.json
  15. 2
      lemonldap-ng-manager/site/htdocs/static/reverseTree.json
  16. 2
      lemonldap-ng-manager/site/htdocs/static/struct.json

@ -3943,6 +3943,9 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'sfOnlyUpgrade' => { 'sfOnlyUpgrade' => {
'type' => 'bool' 'type' => 'bool'
}, },
'sfRegisterTimeout' => {
'type' => 'int'
},
'sfRemovedMsgRule' => { 'sfRemovedMsgRule' => {
'default' => 0, 'default' => 0,
'type' => 'boolOrExpr' 'type' => 'boolOrExpr'

@ -3230,6 +3230,10 @@ sub attributes {
help => 'secondfactor.html', help => 'secondfactor.html',
documentation => 'Notification message', documentation => 'Notification message',
}, },
sfRegisterTimeout => {
type => 'int',
documentation => 'Timeout for 2F registration process',
},
available2F => { available2F => {
type => 'text', type => 'text',
default => 'UTOTP,TOTP,U2F,REST,Mail2F,Ext2F,Yubikey,Radius', default => 'UTOTP,TOTP,U2F,REST,Mail2F,Ext2F,Yubikey,Radius',

@ -980,6 +980,7 @@ sub tree {
'sfRemovedNotifMsg', 'sfRemovedNotifMsg',
], ],
}, },
'sfRegisterTimeout',
] ]
}, },
{ {

@ -1049,6 +1049,7 @@
"sfExtra":"Additional second factors", "sfExtra":"Additional second factors",
"sfManagerRule":"Display Manager link", "sfManagerRule":"Display Manager link",
"sfOnlyUpgrade":"Use 2FA for session upgrade", "sfOnlyUpgrade":"Use 2FA for session upgrade",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Display a message if an expired 2FA is removed", "sfRemovedMsg":"Display a message if an expired 2FA is removed",
"sfRemovedMsgRule":"تفعيل", "sfRemovedMsgRule":"تفعيل",
"sfRemovedNotifMsg":"Notification message", "sfRemovedNotifMsg":"Notification message",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"خدمة أل يو أر ل", "yubikey2fUrl":"خدمة أل يو أر ل",
"yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey", "yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey",
"zeroConfExplanations":"لا يحتوي الخادم على إعدادات. استخدام قالب لحفظ الأول" "zeroConfExplanations":"لا يحتوي الخادم على إعدادات. استخدام قالب لحفظ الأول"
} }

@ -1049,6 +1049,7 @@
"sfExtra":"Additional second factors", "sfExtra":"Additional second factors",
"sfManagerRule":"Display Manager link", "sfManagerRule":"Display Manager link",
"sfOnlyUpgrade":"Use 2FA for session upgrade", "sfOnlyUpgrade":"Use 2FA for session upgrade",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Display a message if an expired 2FA is removed", "sfRemovedMsg":"Display a message if an expired 2FA is removed",
"sfRemovedMsgRule":"Activation", "sfRemovedMsgRule":"Activation",
"sfRemovedNotifMsg":"Notification message", "sfRemovedNotifMsg":"Notification message",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"Service URL", "yubikey2fUrl":"Service URL",
"yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey", "yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey",
"zeroConfExplanations":"Server has no configuration. Use template to save the first." "zeroConfExplanations":"Server has no configuration. Use template to save the first."
} }

@ -1049,6 +1049,7 @@
"sfExtra":"Additional second factors", "sfExtra":"Additional second factors",
"sfManagerRule":"Display Manager link", "sfManagerRule":"Display Manager link",
"sfOnlyUpgrade":"Use 2FA for session upgrade", "sfOnlyUpgrade":"Use 2FA for session upgrade",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Display a message if an expired 2FA is removed", "sfRemovedMsg":"Display a message if an expired 2FA is removed",
"sfRemovedMsgRule":"Activation", "sfRemovedMsgRule":"Activation",
"sfRemovedNotifMsg":"Notification message", "sfRemovedNotifMsg":"Notification message",

@ -1049,6 +1049,7 @@
"sfExtra":"Segundos factores adicionales", "sfExtra":"Segundos factores adicionales",
"sfManagerRule":"Display Manager link", "sfManagerRule":"Display Manager link",
"sfOnlyUpgrade":"Use 2FA for session upgrade", "sfOnlyUpgrade":"Use 2FA for session upgrade",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Display a message if an expired 2FA is removed", "sfRemovedMsg":"Display a message if an expired 2FA is removed",
"sfRemovedMsgRule":"Activación", "sfRemovedMsgRule":"Activación",
"sfRemovedNotifMsg":"Mensaje de notificación", "sfRemovedNotifMsg":"Mensaje de notificación",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"Service URL", "yubikey2fUrl":"Service URL",
"yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey", "yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey",
"zeroConfExplanations":"Server has no configuration. Use template to save the first." "zeroConfExplanations":"Server has no configuration. Use template to save the first."
} }

@ -1049,6 +1049,7 @@
"sfExtra":"Seconds facteurs additionnels", "sfExtra":"Seconds facteurs additionnels",
"sfManagerRule":"Afficher le lien du Gestionnaire", "sfManagerRule":"Afficher le lien du Gestionnaire",
"sfOnlyUpgrade":"Utiliser le SF pour augmenter le niveau d'authentification", "sfOnlyUpgrade":"Utiliser le SF pour augmenter le niveau d'authentification",
"sfRegisterTimeout":"Délai d'expiration de l'enregistrement",
"sfRemovedMsg":"Afficher un message si un SF expiré est supprimé", "sfRemovedMsg":"Afficher un message si un SF expiré est supprimé",
"sfRemovedMsgRule":"Activation", "sfRemovedMsgRule":"Activation",
"sfRemovedNotifMsg":"Message de la notification", "sfRemovedNotifMsg":"Message de la notification",

@ -1049,6 +1049,7 @@
"sfExtra":"Additional second factors", "sfExtra":"Additional second factors",
"sfManagerRule":"Display Manager link", "sfManagerRule":"Display Manager link",
"sfOnlyUpgrade":"Use 2FA for session upgrade", "sfOnlyUpgrade":"Use 2FA for session upgrade",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Display a message if an expired 2FA is removed", "sfRemovedMsg":"Display a message if an expired 2FA is removed",
"sfRemovedMsgRule":"Attivazione", "sfRemovedMsgRule":"Attivazione",
"sfRemovedNotifMsg":"Notification message", "sfRemovedNotifMsg":"Notification message",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"URL del servizio", "yubikey2fUrl":"URL del servizio",
"yubikey2fUserCanRemoveKey":"Autorizza l'utente a rimuovere la Yubikey", "yubikey2fUserCanRemoveKey":"Autorizza l'utente a rimuovere la Yubikey",
"zeroConfExplanations":"Il server non ha alcuna configurazione. Utilizza il modello per salvare il primo." "zeroConfExplanations":"Il server non ha alcuna configurazione. Utilizza il modello per salvare il primo."
} }

@ -1049,6 +1049,7 @@
"sfExtra":"Dodatkowe drugie czynniki", "sfExtra":"Dodatkowe drugie czynniki",
"sfManagerRule":"Link do Menedżera wyświetlania", "sfManagerRule":"Link do Menedżera wyświetlania",
"sfOnlyUpgrade":"Użyj 2FA do aktualizacji sesji", "sfOnlyUpgrade":"Użyj 2FA do aktualizacji sesji",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Wyświetl komunikat, gdy przeterminowany 2FA został usunięty", "sfRemovedMsg":"Wyświetl komunikat, gdy przeterminowany 2FA został usunięty",
"sfRemovedMsgRule":"Aktywacja", "sfRemovedMsgRule":"Aktywacja",
"sfRemovedNotifMsg":"Powiadomienie", "sfRemovedNotifMsg":"Powiadomienie",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"URL usługi", "yubikey2fUrl":"URL usługi",
"yubikey2fUserCanRemoveKey":"Pozwól użytkownikowi usunąć Yubikey", "yubikey2fUserCanRemoveKey":"Pozwól użytkownikowi usunąć Yubikey",
"zeroConfExplanations":"Serwer nie ma konfiguracji. Użyj szablonu, aby zapisać pierwszy." "zeroConfExplanations":"Serwer nie ma konfiguracji. Użyj szablonu, aby zapisać pierwszy."
} }

@ -1049,6 +1049,7 @@
"sfExtra":"Ek ikinci faktörler", "sfExtra":"Ek ikinci faktörler",
"sfManagerRule":"Yönetici bağlantısını görüntüle", "sfManagerRule":"Yönetici bağlantısını görüntüle",
"sfOnlyUpgrade":"Oturum yükseltme için 2FA kullan", "sfOnlyUpgrade":"Oturum yükseltme için 2FA kullan",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Süresi dolan bir 2FA kaldırıldığında bir mesaj göster", "sfRemovedMsg":"Süresi dolan bir 2FA kaldırıldığında bir mesaj göster",
"sfRemovedMsgRule":"Aktivasyon", "sfRemovedMsgRule":"Aktivasyon",
"sfRemovedNotifMsg":"Bildirim mesajı", "sfRemovedNotifMsg":"Bildirim mesajı",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"Servis URL'si", "yubikey2fUrl":"Servis URL'si",
"yubikey2fUserCanRemoveKey":"Yubikey'i kaldırmak için kullanıcıya izin ver", "yubikey2fUserCanRemoveKey":"Yubikey'i kaldırmak için kullanıcıya izin ver",
"zeroConfExplanations":"Sunucunun yapılandırması yok. Şimdi bir tane kaydetmek için şablonu kullanın." "zeroConfExplanations":"Sunucunun yapılandırması yok. Şimdi bir tane kaydetmek için şablonu kullanın."
} }

@ -1049,6 +1049,7 @@
"sfExtra":"Additional second factors", "sfExtra":"Additional second factors",
"sfManagerRule":"Display Manager link", "sfManagerRule":"Display Manager link",
"sfOnlyUpgrade":"Use 2FA for session upgrade", "sfOnlyUpgrade":"Use 2FA for session upgrade",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Display a message if an expired 2FA is removed", "sfRemovedMsg":"Display a message if an expired 2FA is removed",
"sfRemovedMsgRule":"Kích hoạt", "sfRemovedMsgRule":"Kích hoạt",
"sfRemovedNotifMsg":"Notification message", "sfRemovedNotifMsg":"Notification message",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"Dịch vụ URL", "yubikey2fUrl":"Dịch vụ URL",
"yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey", "yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey",
"zeroConfExplanations":"Máy chủ không có cấu hình. Sử dụng mẫu để lưu đầu tiên. " "zeroConfExplanations":"Máy chủ không có cấu hình. Sử dụng mẫu để lưu đầu tiên. "
} }

@ -1049,6 +1049,7 @@
"sfExtra":"Additional second factors", "sfExtra":"Additional second factors",
"sfManagerRule":"Display Manager link", "sfManagerRule":"Display Manager link",
"sfOnlyUpgrade":"Use 2FA for session upgrade", "sfOnlyUpgrade":"Use 2FA for session upgrade",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"Display a message if an expired 2FA is removed", "sfRemovedMsg":"Display a message if an expired 2FA is removed",
"sfRemovedMsgRule":"激活", "sfRemovedMsgRule":"激活",
"sfRemovedNotifMsg":"Notification message", "sfRemovedNotifMsg":"Notification message",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"Service URL", "yubikey2fUrl":"Service URL",
"yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey", "yubikey2fUserCanRemoveKey":"Allow user to remove Yubikey",
"zeroConfExplanations":"Server has no configuration. Use template to save the first." "zeroConfExplanations":"Server has no configuration. Use template to save the first."
} }

@ -1049,6 +1049,7 @@
"sfExtra":"額外的第二因素", "sfExtra":"額外的第二因素",
"sfManagerRule":"顯示管理程式連結", "sfManagerRule":"顯示管理程式連結",
"sfOnlyUpgrade":"使用 2FA 進行工作階段升級", "sfOnlyUpgrade":"使用 2FA 進行工作階段升級",
"sfRegisterTimeout":"Registration timeout",
"sfRemovedMsg":"如果過期的雙因素已被移除則顯示訊息", "sfRemovedMsg":"如果過期的雙因素已被移除則顯示訊息",
"sfRemovedMsgRule":"啟用", "sfRemovedMsgRule":"啟用",
"sfRemovedNotifMsg":"通知訊息", "sfRemovedNotifMsg":"通知訊息",
@ -1205,4 +1206,4 @@
"yubikey2fUrl":"服務 URL", "yubikey2fUrl":"服務 URL",
"yubikey2fUserCanRemoveKey":"允許使用者移除 Yubikey", "yubikey2fUserCanRemoveKey":"允許使用者移除 Yubikey",
"zeroConfExplanations":"伺服器未設定。使用飯本來儲存第一個。" "zeroConfExplanations":"伺服器未設定。使用飯本來儲存第一個。"
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save