Login error handling and flash messages. Remove host prefix on cookies because of https://bugs.chromium.org/p/chromium/issues/detail?id=1245434

This commit is contained in:
Leo Vasanko
2023-10-19 19:55:59 +03:00
committed by Leo Vasanko
parent b7f7a84f60
commit 35038fca89
3 changed files with 32 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ def run(dev=False):
httpredir.app.prepare(port=80, motd=False)
domain = opts["host"]
opts["ssl"] = str(config.conffile.parent / domain)
app.prepare(**opts, motd=False, dev=dev, auto_reload=dev)
app.prepare(**opts, motd=False, dev=dev, auto_reload=dev, access_log=True)
Sanic.serve()
def parse_listen(listen):