From a1304450fa82d1d413472b90772491e13d1f4ece Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Wed, 11 Oct 2023 19:10:07 -0400 Subject: [PATCH] Use strong session protection --- htmx_contact/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htmx_contact/__init__.py b/htmx_contact/__init__.py index 7913c16..9b138a1 100644 --- a/htmx_contact/__init__.py +++ b/htmx_contact/__init__.py @@ -12,7 +12,7 @@ Session = sessionmaker(engine) # Configure Authentication login_manager = LoginManager() -login_manager.session_protection = "basic" +login_manager.session_protection = "strong" login_manager.login_view = "user.user_login"