diff --git a/lib/galaxy/webapps/galaxy/controllers/user.py b/lib/galaxy/webapps/galaxy/controllers/user.py index a5cf2c624c8..a97fa27925b 100644 --- a/lib/galaxy/webapps/galaxy/controllers/user.py +++ b/lib/galaxy/webapps/galaxy/controllers/user.py @@ -804,7 +804,7 @@ class User( BaseUIController, UsesFormDefinitionsMixin, CreatesUsersMixin, Creat Prepares the account activation link for the user. """ activation_token = self.get_activation_token( trans, email ) - activation_link = str( trans.request.host ) + url_for( controller='user', action='activate' ) + "?activation_token=" + str( activation_token ) + "&email=" + urllib.quote( email ) + activation_link = url_for( controller='user', action='activate', activation_token=activation_token, email=email, qualified=True ) return activation_link def get_activation_token ( self, trans, email ):