mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2026-06-21 03:02:52 +02:00
Change login redirect code
This commit is contained in:
@@ -55,7 +55,7 @@ def delete_entry(entry_id):
|
|||||||
@app.route("/login")
|
@app.route("/login")
|
||||||
@basic_auth.required
|
@basic_auth.required
|
||||||
def admin():
|
def admin():
|
||||||
return redirect("/")
|
return redirect("/", code=303)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
"""try:
|
"""try:
|
||||||
|
|||||||
Reference in New Issue
Block a user