chore: Remove setting preferred URL scheme in web UI to allow access without BunkerWeb in front back

This commit is contained in:
Théophile Diot 2024-07-15 15:59:59 +01:00
parent 86eab3a55c
commit cd4e9b8a31
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -114,7 +114,6 @@ with app.app_context():
app.config["SESSION_COOKIE_HTTPONLY"] = True # Recommended for security
app.config["SESSION_COOKIE_SAMESITE"] = "Lax" # Or 'Strict' for stricter settings
app.config["PERMANENT_SESSION_LIFETIME"] = timedelta(minutes=30)
app.config["PREFERRED_URL_SCHEME"] = "https"
login_manager = LoginManager()
login_manager.session_protection = "strong"