Update lib/galaxy/webapps/galaxy/api/authenticate.py

Co-authored-by: Dannon <dannon.baker@gmail.com>
This commit is contained in:
Oleg Zharkov
2020-10-23 13:03:44 +02:00
committed by GitHub
co-authored by Dannon
parent ef155452cf
commit 754da6bcc6
@@ -96,7 +96,7 @@ class AuthenticationController(BaseAPIController):
split = encoded_str.strip().split(' ')
except AttributeError:
if not encoded_str:
raise exceptions.MessageException('Authentication is missing')
raise exceptions.RequestParameterInvalidException('Authentication is missing')
else:
raise exceptions.MessageException('Failed to authenticate')