From 2ebff971b2ad1bdf727dcb063d3776d6f0de7d5c Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Tue, 7 Sep 2021 09:28:25 +0200 Subject: [PATCH] Documentation for hidden login history fields (#2609) --- doc/sources/admin/loginhistory.rst | 14 ++++++++------ .../site/htdocs/static/languages/de.json | 4 ++-- .../site/htdocs/static/languages/en.json | 4 ++-- .../site/htdocs/static/languages/zh.json | 4 ++-- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/doc/sources/admin/loginhistory.rst b/doc/sources/admin/loginhistory.rst index 00763afa2..45e51c099 100644 --- a/doc/sources/admin/loginhistory.rst +++ b/doc/sources/admin/loginhistory.rst @@ -26,12 +26,14 @@ not allowed to open a session. In other cases which result on impossibility to authenticate user, to retrieve data or to create a session, nothing is stored. -By default, login time and IP address are stored in history, and the -error message prompted to the user for failed logins. It is possible to -store any additional session data. For example to store authentication -mode, you can set in ``Session data to store`` a new key ``_auth`` with -value ``Authentication mode``. The value will be used to display the -data. +* **Max successful logins count**: How many successful logins should be remembered in the history +* **Max failed logins count**: How many failed logins should be remembered in the history +* **Session data to store**: additional session variables to store in the history. *Key* is the variable (or macro) name, *Value* is the title of the column used when displaying the field. Use ``__hidden__`` to store a variables without displaying it to the user. + +By default, login time and IP address are stored in history, and the error +message prompted to the user for failed logins. It is possible to store any +additional session data. For example to store authentication, add a new key +``_auth`` with value ``Authentication mode``. To allow the Login History tab in Menu, configure it in ``General Parameters`` > ``Portal`` > ``Menu`` > ``Modules`` (see diff --git a/lemonldap-ng-manager/site/htdocs/static/languages/de.json b/lemonldap-ng-manager/site/htdocs/static/languages/de.json index 1e77e9de4..d19a144ca 100644 --- a/lemonldap-ng-manager/site/htdocs/static/languages/de.json +++ b/lemonldap-ng-manager/site/htdocs/static/languages/de.json @@ -355,7 +355,7 @@ "facebookExportedVars":"Exported variables", "facebookParams":"Facebook parameters", "facebookUserField":"Field containing user identifier", -"failedLoginNumber":"Number of registered failed logins", +"failedLoginNumber":"Max failed logins count", "fileToUpload":"File to upload", "findUser":"Activation", "findUserControl":"Parameters control", @@ -1114,7 +1114,7 @@ "storePassword":"Store user password in session", "string":"String", "subtitle":"Subtitle", -"successLoginNumber":"Number of registered logins", +"successLoginNumber":"Max successful logins count", "successfullySaved":"Successfully saved", "sympaHandler":"Sympa", "sympaMailKey":"Mail session key", diff --git a/lemonldap-ng-manager/site/htdocs/static/languages/en.json b/lemonldap-ng-manager/site/htdocs/static/languages/en.json index b3b503d7f..0377b36ab 100644 --- a/lemonldap-ng-manager/site/htdocs/static/languages/en.json +++ b/lemonldap-ng-manager/site/htdocs/static/languages/en.json @@ -355,7 +355,7 @@ "facebookExportedVars":"Exported variables", "facebookParams":"Facebook parameters", "facebookUserField":"Field containing user identifier", -"failedLoginNumber":"Number of registered failed logins", +"failedLoginNumber":"Max failed logins count", "fileToUpload":"File to upload", "findUser":"Activation", "findUserControl":"Parameters control", @@ -1114,7 +1114,7 @@ "storePassword":"Store user password in session", "string":"String", "subtitle":"Subtitle", -"successLoginNumber":"Number of registered logins", +"successLoginNumber":"Max successful logins count", "successfullySaved":"Successfully saved", "sympaHandler":"Sympa", "sympaMailKey":"Mail session key", diff --git a/lemonldap-ng-manager/site/htdocs/static/languages/zh.json b/lemonldap-ng-manager/site/htdocs/static/languages/zh.json index 55789c7ed..e30722f75 100644 --- a/lemonldap-ng-manager/site/htdocs/static/languages/zh.json +++ b/lemonldap-ng-manager/site/htdocs/static/languages/zh.json @@ -355,7 +355,7 @@ "facebookExportedVars":"Exported variables", "facebookParams":"Facebook 参数", "facebookUserField":"Field containing user identifier", -"failedLoginNumber":"Number of registered failed logins", +"failedLoginNumber":"Max failed logins count", "fileToUpload":"上传的文件", "findUser":"Activation", "findUserControl":"Parameters control", @@ -1114,7 +1114,7 @@ "storePassword":"Store user password in session", "string":"String", "subtitle":"Subtitle", -"successLoginNumber":"Number of registered logins", +"successLoginNumber":"Max successful logins count", "successfullySaved":"Successfully saved", "sympaHandler":"Sympa", "sympaMailKey":"Mail session key",