add support for dynamic users modifications

A custom program can be executed before the users login to modify the
configurations for the user trying to login.
You can, for example, allow login based on time range.

Fixes #77
This commit is contained in:
Nicola Murino
2020-02-23 18:50:59 +01:00
parent 45b9366dd0
commit 703ccc8d91
5 changed files with 256 additions and 19 deletions

View File

@@ -43,7 +43,8 @@
},
"external_auth_program": "",
"external_auth_scope": 0,
"credentials_path": "credentials"
"credentials_path": "credentials",
"before_login_program": ""
},
"httpd": {
"bind_port": 8080,