mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-23 02:27:05 +00:00
minor
This commit is contained in:
parent
6f83bf2e7d
commit
0ff8d1d429
@ -685,8 +685,7 @@ def log_failed_login(request):
|
||||
# APP
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.debug = True # TODO: remove this line and uncomment the next line after testing
|
||||
# if "DEBUG" in os.environ: app.debug = True
|
||||
if "DEBUG" in os.environ: app.debug = True
|
||||
if "APIKEY" in os.environ: auth_service.key = os.environ["APIKEY"]
|
||||
|
||||
if not app.debug:
|
||||
|
Loading…
Reference in New Issue
Block a user