🐛 invalid API key = no API key

This commit is contained in:
Gina Häußge committed 2019-03-27 17:05:30 +01:00
1 parent 9ec3a6ae7a
commit 33eba705bf
1 file changed
+2 -1
+2 -1
View File
@@ -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