feat: wire CSRF middleware and harden session cookie
This commit is contained in:
parent
b5ea9950a2
commit
d1f2b39cb6
4 changed files with 37 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ from porchlight.config import Settings
|
|||
|
||||
@pytest.fixture
|
||||
def settings() -> Settings:
|
||||
return Settings(issuer="http://localhost:8000", sqlite_path=":memory:")
|
||||
return Settings(issuer="http://localhost:8000", sqlite_path=":memory:", session_https_only=False)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue