1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-24 02:37:05 +00:00
This commit is contained in:
Ashiq5 2020-11-05 22:37:30 +06:00
parent 6f83bf2e7d
commit 0ff8d1d429

View File

@ -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: