mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-26 04:25:46 +08:00
added samesite option for cookie authentication (#337)
* added samesite option for cookie authentication * formatted with black and added documentation (grabbed from starlette.io documentation)
This commit is contained in:
@ -56,7 +56,8 @@ def event_loop():
|
||||
@pytest.fixture
|
||||
def user() -> UserDB:
|
||||
return UserDB(
|
||||
email="king.arthur@camelot.bt", hashed_password=guinevere_password_hash,
|
||||
email="king.arthur@camelot.bt",
|
||||
hashed_password=guinevere_password_hash,
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user