Skip to content

Commit d86348c

Browse files
committed
로그인 API 응답에 basic Auth 토큰 키 변경
1 parent fb6ce5b commit d86348c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

account/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def login_api(request):
8787

8888
response_data = {
8989
"msg": "ok",
90-
"token": get_basic_auth_token(request.data["username"], request.data["password"])
90+
"basic_auth_token": get_basic_auth_token(request.data["username"], request.data["password"])
9191
}
9292

9393
return Response(response_data)

0 commit comments

Comments
 (0)