mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Slightly improve error message under remote auth with anon session attempt.
This commit is contained in:
@@ -462,7 +462,7 @@ class GalaxyWebTransaction( base.DefaultWebTransaction,
|
||||
# No session exists, get/create user for new session
|
||||
user_for_new_session = self.get_or_create_remote_user( remote_user_email )
|
||||
if ((galaxy_session and galaxy_session.user is None) and user_for_new_session is None):
|
||||
raise Exception("Remote Authentication Failure")
|
||||
raise Exception("Remote Authentication Failure - user is unknown and/or not supplied.")
|
||||
else:
|
||||
if galaxy_session is not None and galaxy_session.user and galaxy_session.user.external:
|
||||
# Remote user support is not enabled, but there is an existing
|
||||
|
||||
Reference in New Issue
Block a user