Skip to content

Commit fc26cbd

Browse files
committed
fix(authentication): failure exception
1 parent 9837d48 commit fc26cbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/api/authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def authenticate(self, request):
4949
from api.backend import OauthCacheManager
5050
return OauthCacheManager().get_user(token), token
5151
except exceptions.AuthenticationFailed:
52-
return None, None
52+
return None
5353
# drycc token
5454
user = cache.get(token, None)
5555
if not user:

0 commit comments

Comments
 (0)