mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2026-10-25 18:30:24 +01:00
Change login redirect code
This commit is contained in:
1 parent
5818eb1150
commit
0f7b4e5426
1 file changed
+1
-1
@@ -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