diff --git a/lib/galaxy/webapps/galaxy/controllers/user.py b/lib/galaxy/webapps/galaxy/controllers/user.py index 25abda560af..927c8bbc201 100644 --- a/lib/galaxy/webapps/galaxy/controllers/user.py +++ b/lib/galaxy/webapps/galaxy/controllers/user.py @@ -1144,9 +1144,9 @@ class User( BaseUIController, UsesFormDefinitionsMixin, CreatesUsersMixin, Creat return "A public user name is required in the tool shed." if username in [ 'repos' ]: return "The term %s is a reserved word in the tool shed, so it cannot be used as a public user name." % username - message = "\n".join(validate_email( trans, email ), - validate_password( trans, password, confirm ), - validate_publicname( trans, username )) + message = "\n".join( [ validate_email( trans, email ), + validate_password( trans, password, confirm ), + validate_publicname( trans, username ) ] ).rstrip() if not message: if trans.webapp.name == 'galaxy': if self.get_all_forms( trans,