2020-08-23 21:58:26 +00:00
|
|
|
[FLASCHENGEIST]
|
2020-09-03 15:56:12 +00:00
|
|
|
# Select authentication provider (builtin: auth_plain, auth_ldap)
|
2020-10-28 13:21:20 +00:00
|
|
|
auth = "auth_plain"
|
2020-09-03 15:56:12 +00:00
|
|
|
# Enable if you run flaschengeist behind a proxy, e.g. nginx + gunicorn
|
2020-10-28 13:21:20 +00:00
|
|
|
#proxy = false
|
2020-09-03 15:56:12 +00:00
|
|
|
# Set root path, prefixes all routes
|
2020-10-30 21:15:37 +00:00
|
|
|
#root = /api
|
2020-10-28 13:21:20 +00:00
|
|
|
# Set secret key
|
|
|
|
secret_key = "V3ryS3cr3t"
|
2021-01-18 17:05:10 +00:00
|
|
|
# Domain used by frontend
|
|
|
|
#domain = "flaschengeist.local"
|
2020-10-28 13:21:20 +00:00
|
|
|
|
|
|
|
[LOGGING]
|
|
|
|
file = "/tmp/flaschengeist-debug.log"
|
|
|
|
# DEBUG INFO WARNING ERROR
|
|
|
|
#level = "WARNING"
|
2020-08-23 21:58:26 +00:00
|
|
|
|
|
|
|
[DATABASE]
|
2020-10-28 13:21:20 +00:00
|
|
|
user = "user"
|
|
|
|
host = "127.0.0.1"
|
|
|
|
password = "password"
|
|
|
|
database = "database"
|
2020-08-23 21:58:26 +00:00
|
|
|
|
2020-10-15 19:58:56 +00:00
|
|
|
[auth_plain]
|
|
|
|
enabled = true
|
|
|
|
|
2020-10-15 10:05:16 +00:00
|
|
|
#[auth_ldap]
|
2020-10-15 19:58:56 +00:00
|
|
|
# enabled = true
|
2020-11-13 00:20:25 +00:00
|
|
|
# host =
|
|
|
|
# port =
|
|
|
|
# bind_dn =
|
|
|
|
# base_dn =
|
|
|
|
# secret =
|
|
|
|
# use_ssl =
|
|
|
|
# admin_dn =
|
|
|
|
# admin_dn =
|
|
|
|
# default_gid =
|
2020-10-15 10:05:16 +00:00
|
|
|
|
2021-01-18 17:05:10 +00:00
|
|
|
[MESSAGES]
|
|
|
|
welcome_subject = "Welcome to Flaschengeist {name}"
|
|
|
|
welcome_text = '''
|
|
|
|
Hello {name}!
|
|
|
|
Welcome to Flaschengeist!
|
2021-01-21 13:08:06 +00:00
|
|
|
|
|
|
|
Your username is {username}, please set your password:
|
|
|
|
{password_link}
|
|
|
|
(If the link expires, please just use the Forgot-Password-function).
|
|
|
|
|
2021-01-18 17:05:10 +00:00
|
|
|
Have fun :)
|
|
|
|
'''
|
|
|
|
|
|
|
|
password_subject = "Flaschengeist - Password reset"
|
|
|
|
password_text = '''
|
|
|
|
Hello {name}!
|
|
|
|
There was a password reset request for username: {username}
|
|
|
|
|
|
|
|
To change your password, click on this link:
|
|
|
|
{link}
|
|
|
|
'''
|
|
|
|
|
|
|
|
password_changed_subject = "Flaschengeist - Password changed"
|
|
|
|
password_changed_text = '''
|
|
|
|
Hello {name}!
|
|
|
|
Your password was changed for username: {username}
|
|
|
|
|
|
|
|
If this was not you, please contact the support.
|
|
|
|
'''
|
|
|
|
|
|
|
|
##################
|
|
|
|
# PLUGINS #
|
|
|
|
##################
|
|
|
|
|
2020-10-30 23:02:02 +00:00
|
|
|
#[users]
|
2020-11-13 00:20:25 +00:00
|
|
|
# always enabled
|
2020-10-30 23:02:02 +00:00
|
|
|
#
|
|
|
|
## allowed values: false, "managed", "public"
|
|
|
|
## false: Disable registration
|
|
|
|
## "managed": only users with matching permission are allowed to register new users
|
2020-11-13 00:20:25 +00:00
|
|
|
## "public": Also unauthenticated users can register an account
|
2020-10-30 23:02:02 +00:00
|
|
|
# registration = False
|
|
|
|
|
2020-08-23 21:58:26 +00:00
|
|
|
############################
|
|
|
|
# Configuration of plugins #
|
|
|
|
############################
|
2020-10-28 13:21:20 +00:00
|
|
|
#[mail]
|
|
|
|
# enabled = true
|
|
|
|
# SERVER =
|
|
|
|
# PORT =
|
|
|
|
# USER =
|
|
|
|
# PASSWORD =
|
|
|
|
# MAIL =
|
|
|
|
# SSL or STARTLS
|
|
|
|
# CRYPT = SSL
|
|
|
|
|
2020-10-30 21:15:37 +00:00
|
|
|
[balance]
|
|
|
|
enabled = true
|
2020-11-01 15:16:51 +00:00
|
|
|
# Enable a default limit, will be set if no other limit is set
|
|
|
|
# limit = -10.00
|
2020-08-23 21:58:26 +00:00
|
|
|
|
2020-10-30 21:15:37 +00:00
|
|
|
[geruecht]
|
2020-09-07 16:11:38 +00:00
|
|
|
enabled = false
|