fix: delete origins
This commit is contained in:
@@ -76,7 +76,7 @@ async def registration(
|
||||
key='device_id',
|
||||
value=device_id,
|
||||
httponly=True,
|
||||
secure=True,
|
||||
secure=settings.AUTH_COOKIE_SECURE,
|
||||
samesite='lax',
|
||||
path='/',
|
||||
max_age=60 * 60 * 24 * 365 * 5
|
||||
@@ -86,7 +86,7 @@ async def registration(
|
||||
key='access_token',
|
||||
value=created.access_token,
|
||||
httponly=True,
|
||||
secure=True,
|
||||
secure=settings.AUTH_COOKIE_SECURE,
|
||||
samesite='lax',
|
||||
path='/',
|
||||
max_age=int(settings.JWT_ACCESS_TTL_SECONDS),
|
||||
@@ -95,7 +95,7 @@ async def registration(
|
||||
key='refresh_token',
|
||||
value=created.refresh_token,
|
||||
httponly=True,
|
||||
secure=True,
|
||||
secure=settings.AUTH_COOKIE_SECURE,
|
||||
samesite='lax',
|
||||
path='/',
|
||||
max_age=int(settings.JWT_REFRESH_TTL_SECONDS),
|
||||
@@ -167,7 +167,7 @@ async def login(
|
||||
key='device_id',
|
||||
value=device_id,
|
||||
httponly=True,
|
||||
secure=True,
|
||||
secure=settings.AUTH_COOKIE_SECURE,
|
||||
samesite='lax',
|
||||
path='/',
|
||||
max_age=60 * 60 * 24 * 365 * 5
|
||||
@@ -177,7 +177,7 @@ async def login(
|
||||
key='access_token',
|
||||
value=dto.access_token,
|
||||
httponly=True,
|
||||
secure=True,
|
||||
secure=settings.AUTH_COOKIE_SECURE,
|
||||
samesite='lax',
|
||||
path='/',
|
||||
max_age=int(settings.JWT_ACCESS_TTL_SECONDS),
|
||||
@@ -187,7 +187,7 @@ async def login(
|
||||
key='refresh_token',
|
||||
value=dto.refresh_token,
|
||||
httponly=True,
|
||||
secure=True,
|
||||
secure=settings.AUTH_COOKIE_SECURE,
|
||||
samesite='lax',
|
||||
path='/',
|
||||
max_age=int(settings.JWT_REFRESH_TTL_SECONDS),
|
||||
|
||||
Reference in New Issue
Block a user