🐛 invalid API key = no API key
This commit is contained in:
1 parent
9ec3a6ae7a
commit
33eba705bf
1 file changed
+2
-1
@@ -68,7 +68,8 @@ def loginUserFromApiKey():
|
||||
|
||||
user = get_user_for_apikey(apikey)
|
||||
if user is None:
|
||||
raise InvalidApiKeyException()
|
||||
# invalid API key = no API key
|
||||
return False
|
||||
|
||||
if not loginUser(user):
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user