Skip to content

Commit

Permalink
Merge pull request #173 from OZ-Coding-School/hotfix/cokkie
Browse files Browse the repository at this point in the history
rename
  • Loading branch information
yoonju977 authored Sep 20, 2024
2 parents 4ac7ef3 + 89f12e8 commit 70cd41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/common/authentication/cookie_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def authenticate(self, request: Request) -> Optional[Tuple[AuthUser, Token]]:
header = self.get_header(request)
if header is None:
# Authorization 헤더가 없는 경우 쿠키에서 Access token을 읽는다.
raw_token = request.COOKIES.get("access")
raw_token = request.COOKIES.get("hunsu_access")
else:
raw_token = self.get_raw_token(header)

Expand Down

0 comments on commit 70cd41b

Please sign in to comment.