Doc newLocationWarning

This commit is contained in:
Alexandre KARIM 2021-08-13 15:57:30 +02:00
parent 3ae759edd4
commit 6d2181d6b2
4 changed files with 35 additions and 2 deletions

View File

@ -5,4 +5,5 @@ Attacks and Protection
:maxdepth: 1
bruteforceprotection
newlocationwarning
safejail

View File

@ -0,0 +1,32 @@
New Location Warning Plugin
=================
Presentation
------------
This plugin allows LL::NG to send a warning message to the user's email
address when their account connects via a new IP address.
Following steps are performed:
#. User logs in from a new location
#. The IP address is compared to those in the connection history
#. If it's a new IP, a warning email is sent to the user's email address
Configuration
-------------
Just enable it in the Manager (section ``General Parameters`` > ``Advanced parameters`` > ``Security`` > ``New location warning``:
- **Activation**: Enable this plugin *(default: disabled)*
- **Session mail attribute**: Session key containing mail address *(default: mail)*
- **Warning mail subject**: Subject of the email containing the warning
- **Warning mail content**: Content of the email containing the warning
.. note::
Following variables are available in:
\* Warning email body => ``$newLocationIP``, ``$newLocationDate``

View File

@ -1040,7 +1040,7 @@ sub tree {
},
{
title => 'newLocationWarnings',
help => 'newLocationWarning.html',
help => 'newlocationwarning.html',
form => 'simpleInputContainer',
nodes => [
'newLocationWarning',

File diff suppressed because one or more lines are too long