authelia - email+username for login, retry regulation
This commit is contained in:
@@ -2,15 +2,11 @@ authentication_backend:
|
|||||||
file:
|
file:
|
||||||
path: /config/users.yaml
|
path: /config/users.yaml
|
||||||
watch: true
|
watch: true
|
||||||
|
search:
|
||||||
|
email: true
|
||||||
|
|
||||||
access_control:
|
access_control:
|
||||||
default_policy: deny
|
default_policy: deny
|
||||||
networks:
|
|
||||||
- name: 'internal'
|
|
||||||
networks:
|
|
||||||
- '10.0.0.0/8'
|
|
||||||
- '172.16.0.0/12'
|
|
||||||
- '192.168.0.0/18'
|
|
||||||
rules:
|
rules:
|
||||||
# go from most to least specific
|
# go from most to least specific
|
||||||
###### bypasses ######
|
###### bypasses ######
|
||||||
@@ -112,6 +108,13 @@ access_control:
|
|||||||
- 'group:super_admin'
|
- 'group:super_admin'
|
||||||
policy: 'two_factor'
|
policy: 'two_factor'
|
||||||
|
|
||||||
|
regulation:
|
||||||
|
modes:
|
||||||
|
- 'ip'
|
||||||
|
max_retries: 1
|
||||||
|
find_time: '1m'
|
||||||
|
ban_time: '5m'
|
||||||
|
|
||||||
password_policy:
|
password_policy:
|
||||||
zxcvbn:
|
zxcvbn:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -124,14 +127,14 @@ password_policy:
|
|||||||
session:
|
session:
|
||||||
# SECRET
|
# SECRET
|
||||||
# secret: ''
|
# secret: ''
|
||||||
redis:
|
|
||||||
host: 'authelia-redis'
|
|
||||||
inactivity: '1w'
|
inactivity: '1w'
|
||||||
expiration: '2w'
|
expiration: '2w'
|
||||||
remember_me: '3M'
|
remember_me: '3M'
|
||||||
cookies:
|
cookies:
|
||||||
- domain: 'knravish.me'
|
- domain: 'knravish.me'
|
||||||
authelia_url: 'https://auth.knravish.me'
|
authelia_url: 'https://auth.knravish.me'
|
||||||
|
redis:
|
||||||
|
host: 'authelia-redis'
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
# SECRET
|
# SECRET
|
||||||
@@ -150,6 +153,13 @@ notifier:
|
|||||||
identifier: 'knravish.me'
|
identifier: 'knravish.me'
|
||||||
subject: '[Authelia] {title}'
|
subject: '[Authelia] {title}'
|
||||||
|
|
||||||
|
definitions:
|
||||||
|
network:
|
||||||
|
internal:
|
||||||
|
- '10.0.0.0/8'
|
||||||
|
- '172.16.0.0/12'
|
||||||
|
- '192.168.0.0/16'
|
||||||
|
|
||||||
theme: 'auto'
|
theme: 'auto'
|
||||||
|
|
||||||
server:
|
server:
|
||||||
|
|||||||
Reference in New Issue
Block a user