Update doc

This commit is contained in:
Christophe Maudoux 2020-05-20 23:41:40 +02:00 committed by Maxime Besson
parent 131a09cbd4
commit 6f06c22a58
5 changed files with 21 additions and 15 deletions

View File

@ -1,15 +1,15 @@
Auto Signin Addon Auto Signin Addon
================= =================
Auto-Signin add-on provides an easy way to bypass authentication process Auto-Signin plugin provides an easy way to bypass authentication process
based on rules. For example, a TV can be automatically authenticated by based on rules. For example, a TV can be automatically authenticated by
its IP address. its IP address.
Configuration Configuration
------------- -------------
This add-on is automatically enabled if a rule is declared. A rule links This add-on is automatically enabled if a rule is defined. A rule links
rule to a username. The only usable variable here is ``$env``. Example: rule to an username. The only availble variable here is ``$env``. Example:
============== =========================================== ============== ===========================================
Key (username) Rule Key (username) Rule
@ -20,4 +20,4 @@ dwho ''$env->{REMOTE_ADDR} eq '192.168.42.42' ''
.. important:: .. important::
Username must be defined in the user database. Username must be defined in users database.

View File

@ -14,7 +14,7 @@ seconds.
Configuration Configuration
------------- -------------
To enable Brute Force Attack protection : To enable Brute Force Attack protection:
Go in Manager, ``General Parameters`` » ``Advanced Parameters`` » Go in Manager, ``General Parameters`` » ``Advanced Parameters`` »
``Security`` » ``Brute-force attack protection`` » ``Activation``\ and ``Security`` » ``Brute-force attack protection`` » ``Activation``\ and
@ -75,4 +75,4 @@ of allowed failed login attempts (3 by default) edit
Number of failed login attempts stored in history MUST Number of failed login attempts stored in history MUST
be higher than allowed failed logins for this plugin takes effect. be higher than allowed failed logins for this plugin takes effect.
See :doc:`History plugin<loginhistory>`

View File

@ -7,15 +7,15 @@ the backup-node.
Configuration Configuration
------------- -------------
To enable Check state:
Just enable it in the manager (*General Parameters* » *Plugins* » Go in Manager, ``General Parameters`` » ``Plugins`` » ``State Check``.
*State Check*). You must also set a shared secret. You must also set a shared secret.
Usage Usage
----- -----
When enabled, ``/checkstate`` URL path is handled by this plugin. GET When enabled, ``/checkstate`` URL path is handled by this plugin.
parameters: GET parameters:
============= ======== ============================================================ ============= ======== ============================================================
GET Parameter Need Value GET Parameter Need Value

View File

@ -24,3 +24,8 @@ You can then create rules with these fields:
does not return true, then the session is refused. does not return true, then the session is refused.
- **Message**: The message that will be displayed. That message can - **Message**: The message that will be displayed. That message can
contain session data as user attributes or macros. contain session data as user attributes or macros.
.. tip::
By example, you can set a message like this:
"hello $uid your are not allowed to login"

View File

@ -18,8 +18,9 @@ Installation
Activation Activation
~~~~~~~~~~ ~~~~~~~~~~
You just have to activate Notifications in the Manager (General To activate notifications system:
Parameters > Advanced Parameters > Notifications > Activation) Go to Manager ``General Parameters`` » ``Advanced Parameters`` »
``Notifications`` » ``Activation``
or in ``lemonldap-ng.ini`` [portal] section: or in ``lemonldap-ng.ini`` [portal] section:
@ -33,8 +34,8 @@ Explorer
Notifications explorer allows users to see and display theirs accepted Notifications explorer allows users to see and display theirs accepted
notifications. Disable by default, you just have to activate it in the notifications. Disable by default, you just have to activate it in the
Manager (General Parameters > Advanced Parameters > Notifications > Manager (``General Parameters`` » ``Advanced Parameters`` » ``Notifications`` »
Explorer) ``Explorer``)
or in ``lemonldap-ng.ini`` [portal] section: or in ``lemonldap-ng.ini`` [portal] section: