feat(auth): add frontend login and route protection
This commit is contained in:
parent
6f7cae9e24
commit
4bc8b20a21
5 changed files with 116 additions and 19 deletions
|
|
@ -32,7 +32,7 @@ def login(
|
|||
key="access_token",
|
||||
value=token,
|
||||
httponly=True,
|
||||
secure=True,
|
||||
secure=False,
|
||||
samesite="lax",
|
||||
max_age=3600,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue