mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Add "API" flag to config (default: disabled)
This commit is contained in:
parent
e9175da586
commit
c30944404d
@ -69,6 +69,7 @@ DEFAULT_CONFIG = {
|
|||||||
'RECAPTCHA_PRIVATE_KEY': '',
|
'RECAPTCHA_PRIVATE_KEY': '',
|
||||||
'LOGO_URL': None,
|
'LOGO_URL': None,
|
||||||
'LOGO_BACKGROUND': None,
|
'LOGO_BACKGROUND': None,
|
||||||
|
'API': False,
|
||||||
# Advanced settings
|
# Advanced settings
|
||||||
'LOG_LEVEL': 'WARNING',
|
'LOG_LEVEL': 'WARNING',
|
||||||
'SESSION_KEY_BITS': 128,
|
'SESSION_KEY_BITS': 128,
|
||||||
@ -157,4 +158,3 @@ class ConfigManager:
|
|||||||
|
|
||||||
# update the app config
|
# update the app config
|
||||||
app.config.update(self.config)
|
app.config.update(self.config)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user