From 754da6bcc60476d1758a56f500853a8da4e29442 Mon Sep 17 00:00:00 2001 From: Oleg Zharkov Date: Fri, 23 Oct 2020 13:03:44 +0200 Subject: [PATCH] Update lib/galaxy/webapps/galaxy/api/authenticate.py Co-authored-by: Dannon --- lib/galaxy/webapps/galaxy/api/authenticate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/webapps/galaxy/api/authenticate.py b/lib/galaxy/webapps/galaxy/api/authenticate.py index e3a6bb103bf..475347957dd 100644 --- a/lib/galaxy/webapps/galaxy/api/authenticate.py +++ b/lib/galaxy/webapps/galaxy/api/authenticate.py @@ -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')