fix: Redirect on successful login
All checks were successful
Build Docker / Build Docker (push) Successful in 27s
All checks were successful
Build Docker / Build Docker (push) Successful in 27s
This commit is contained in:
parent
1c8b538261
commit
b67c1576e1
@ -216,6 +216,7 @@ def txtLogin():
|
|||||||
print(next_page)
|
print(next_page)
|
||||||
if next_page and next_page != "None":
|
if next_page and next_page != "None":
|
||||||
return redirect(next_page)
|
return redirect(next_page)
|
||||||
|
return redirect("/")
|
||||||
|
|
||||||
return render_template("error.html",error="The domain wasn't able to be authenticated.",
|
return render_template("error.html",error="The domain wasn't able to be authenticated.",
|
||||||
message="<br>Double check the TXT record and try again",
|
message="<br>Double check the TXT record and try again",
|
||||||
@ -278,6 +279,7 @@ def txtLoginDomain(domain):
|
|||||||
print(next_page)
|
print(next_page)
|
||||||
if next_page and next_page != "None":
|
if next_page and next_page != "None":
|
||||||
return redirect(next_page)
|
return redirect(next_page)
|
||||||
|
return redirect("/")
|
||||||
|
|
||||||
return render_template("error.html",error="The domain wasn't able to be authenticated.",
|
return render_template("error.html",error="The domain wasn't able to be authenticated.",
|
||||||
message="<br>Double check the TXT record and try again",
|
message="<br>Double check the TXT record and try again",
|
||||||
|
Loading…
Reference in New Issue
Block a user