feat: implement auth, projects, and frontend foundation
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from src.config import Settings
|
||||
|
||||
|
||||
def build_cookie_options(settings: Settings) -> dict[str, str | bool]:
|
||||
return {
|
||||
"httponly": True,
|
||||
"secure": settings.cookie_secure,
|
||||
"samesite": settings.cookie_samesite,
|
||||
}
|
||||
Reference in New Issue
Block a user