From d9bce945fd77a17c477369da8bee82749575359c Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Mon, 18 Jul 2011 15:02:37 -0400 Subject: [PATCH] Case sensitivity note for login not found error. --- lib/galaxy/web/controllers/mobile.py | 2 +- lib/galaxy/web/controllers/user.py | 2 +- scripts/check_galaxy.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/galaxy/web/controllers/mobile.py b/lib/galaxy/web/controllers/mobile.py index 218e77d0bbf..3fe3eaad5fa 100644 --- a/lib/galaxy/web/controllers/mobile.py +++ b/lib/galaxy/web/controllers/mobile.py @@ -47,7 +47,7 @@ class Mobile( BaseController ): error = password_error = None user = trans.sa_session.query( model.User ).filter_by( email = email ).first() if not user: - error = "No such user" + error = "No such user (please note that login is case sensitive)" elif user.deleted: error = "This account has been marked deleted, contact your Galaxy administrator to restore the account." elif user.external: diff --git a/lib/galaxy/web/controllers/user.py b/lib/galaxy/web/controllers/user.py index 261b9684196..c82d53b773a 100644 --- a/lib/galaxy/web/controllers/user.py +++ b/lib/galaxy/web/controllers/user.py @@ -394,7 +394,7 @@ class User( BaseController, UsesFormDefinitions ): success = False user = trans.sa_session.query( trans.app.model.User ).filter( trans.app.model.User.table.c.email==email ).first() if not user: - message = "No such user" + message = "No such user (please note that login is case sensitive)" status = 'error' elif user.deleted: message = "This account has been marked deleted, contact your Galaxy administrator to restore the account." diff --git a/scripts/check_galaxy.py b/scripts/check_galaxy.py index 261761d0600..cf871f0352b 100755 --- a/scripts/check_galaxy.py +++ b/scripts/check_galaxy.py @@ -292,7 +292,7 @@ class userParser(htmllib.HTMLParser): self.in_span = False def handle_data(self, data): if self.in_span: - if data == "No such user": + if data == "No such user (please note that login is case sensitive)": self.no_user = True elif data == "Invalid password": self.bad_pw = True