diff --git a/website/routes.py b/website/routes.py
index be38a48..98fdda3 100644
--- a/website/routes.py
+++ b/website/routes.py
@@ -216,6 +216,7 @@ def txtLogin():
print(next_page)
if next_page and next_page != "None":
return redirect(next_page)
+ return redirect("/")
return render_template("error.html",error="The domain wasn't able to be authenticated.",
message="
Double check the TXT record and try again",
@@ -278,6 +279,7 @@ def txtLoginDomain(domain):
print(next_page)
if next_page and next_page != "None":
return redirect(next_page)
+ return redirect("/")
return render_template("error.html",error="The domain wasn't able to be authenticated.",
message="
Double check the TXT record and try again",