[mod] role:authelia:add var "password_reset_custom_url"

This commit is contained in:
roydfalk 2024-06-03 23:55:51 +02:00
parent f62ffeeeb8
commit e89702bf75
3 changed files with 7 additions and 1 deletions

View file

@ -24,6 +24,7 @@
"var_authelia_storage_data_mariadb_schema": "authelia", "var_authelia_storage_data_mariadb_schema": "authelia",
"var_authelia_ntp_server": "time.cloudflare.com:123", "var_authelia_ntp_server": "time.cloudflare.com:123",
"var_authelia_password_reset_enabled": false, "var_authelia_password_reset_enabled": false,
"var_authelia_password_reset_custom_url": null,
"var_authelia_notification_mode": "smtp", "var_authelia_notification_mode": "smtp",
"var_authelia_notification_file_path": "/var/authelia/notifications", "var_authelia_notification_file_path": "/var/authelia/notifications",
"var_authelia_notification_smtp_host": "smtp.example.org", "var_authelia_notification_smtp_host": "smtp.example.org",

View file

@ -56,7 +56,7 @@
{% else %} {% else %}
"disable": true, "disable": true,
{% endif %} {% endif %}
"custom_url": "" "custom_url": "{{password_reset_custom_url}}"
}, },
"refresh_interval": "5m", "refresh_interval": "5m",
"file": { "file": {

View file

@ -99,6 +99,11 @@
"type": "boolean", "type": "boolean",
"mandatory": false "mandatory": false
}, },
"password_reset_custom_url": {
"nullable": true,
"type": "string",
"mandatory": false
},
"notification_mode": { "notification_mode": {
"type": "string", "type": "string",
"mandatory": false, "mandatory": false,