diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-12-01 17:20:36 -0200 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-12-01 17:20:36 -0200 |
commit | 8b26f3f40e3f5d04a02528c81616a231d8f8428a (patch) | |
tree | a98e12a1fe0406d8dcc5279b36c1ba8905e4ed0a /service/pixelated | |
parent | e4fd5581c91e97940fe893eda42a8f200d1e8d22 (diff) |
[#849] Change unauthorized message
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/resources/login_resource.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/resources/login_resource.py b/service/pixelated/resources/login_resource.py index aadc435e..ed0cb54e 100644 --- a/service/pixelated/resources/login_resource.py +++ b/service/pixelated/resources/login_resource.py @@ -145,10 +145,10 @@ class LoginResource(BaseResource): self._complete_bootstrap(user_auth, request) def render_error(error): - log.info('Login Error for %s' % request.args['username'][0]) + log.info('Login error for %s' % request.args['username'][0]) log.info('%s' % error) request.setResponseCode(UNAUTHORIZED) - return self._render_template(request, 'Invalid credentials') + return self._render_template(request, 'Invalid username or password') d = self._handle_login(request) d.addCallbacks(render_response, render_error) |