Skip to content

Commit b702279

Browse files
committed
fix(filestore): prevent code 500 for anonymous login
1 parent 4a03bf9 commit b702279

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

users/views.py

+1
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ def storelogin(request):
616616
{"error": "{0}".format(err)}, status=status.HTTP_403_FORBIDDEN
617617
)
618618

619+
fs_user_token = None
619620
if user.is_authenticated:
620621
# try user auth
621622
fs_user_token = use_filestore_auth(user)

0 commit comments

Comments
 (0)