diff --git a/lib/galaxy/webapps/galaxy/api/users.py b/lib/galaxy/webapps/galaxy/api/users.py index 51b5dcea8ebd..cea38b00bdf8 100644 --- a/lib/galaxy/webapps/galaxy/api/users.py +++ b/lib/galaxy/webapps/galaxy/api/users.py @@ -832,7 +832,11 @@ def get_information(self, trans, id, **kwd): "type": "text", "label": "Email address", "value": email, - "help": "If you change your email address you will receive an activation link in the new mailbox and you have to activate your account by visiting it.", + "help": ( + "If you change your email address you will receive an activation link in the new mailbox and you have to activate your account by visiting it." + if trans.app.config.user_activation_on + else "" + ), } ) if is_galaxy_app: