mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-24 02:37:05 +00:00
minor
This commit is contained in:
parent
6f83bf2e7d
commit
0ff8d1d429
@ -685,8 +685,7 @@ def log_failed_login(request):
|
|||||||
# APP
|
# APP
|
||||||
|
|
||||||
if __name__ == '__main__':
|
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 "APIKEY" in os.environ: auth_service.key = os.environ["APIKEY"]
|
||||||
|
|
||||||
if not app.debug:
|
if not app.debug:
|
||||||
|
Loading…
Reference in New Issue
Block a user