From 40cc5989049036af73f5fcacc67b648feca7db80 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 26 Feb 2016 13:31:20 +0100 Subject: [PATCH] views: change HTTP 400 message when no idp is found --- mellon/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mellon/views.py b/mellon/views.py index 26efa6b..b302fb0 100644 --- a/mellon/views.py +++ b/mellon/views.py @@ -245,7 +245,7 @@ class LoginView(LogMixin, View): next_url = request.GET.get('next') idp = self.get_idp(request) if idp is None: - return HttpResponseBadRequest('unkown entity_id') + return HttpResponseBadRequest('no idp found') login = utils.create_login(request) self.log.debug('authenticating to %r', idp['ENTITY_ID']) try: