This commit is contained in:
Kenneth Kehl
2024-09-10 08:46:31 -07:00
parent bdf4c9597b
commit a3ef868924
3 changed files with 7 additions and 9 deletions

View File

@@ -163,11 +163,11 @@ class E2ETest(Staging):
# Borrowed from development environment
DEBUG = True
# SESSION_COOKIE_SECURE = False
# SESSION_PROTECTION = None
# HTTP_PROTOCOL = "http"
# ASSET_DOMAIN = ""
# ASSET_PATH = "/static/"
SESSION_COOKIE_SECURE = False
SESSION_PROTECTION = None
HTTP_PROTOCOL = "http"
ASSET_DOMAIN = ""
ASSET_PATH = "/static/"
# Borrowed from test environment
TESTING = True

View File

@@ -158,8 +158,6 @@ def _handle_e2e_tests(redirect_url):
# Trying to get a message back to playwright somehow since we can't see the admin logs
return redirect(url_for(f"https://{stre}"))
# return redirect(url_for("main.show_accounts_or_dashboard", next=redirect_url))
@main.route("/sign-in", methods=(["GET", "POST"]))
@hide_from_search_engines