diff --git a/server/src/uds/mfas/Email/mfa.py b/server/src/uds/mfas/Email/mfa.py index 2cfbeafdf..7dabdbcc3 100644 --- a/server/src/uds/mfas/Email/mfa.py +++ b/server/src/uds/mfas/Email/mfa.py @@ -157,7 +157,7 @@ class EmailMFA(mfas.MFA): label=_('Mail text'), order=33, multiline=4, - tooltip=_('Text of the email. If empty, a default text will be used') + '\n' + _('Allowed variables are: {code}, {username}, {ip}'), + tooltip=_('Text of the email. If empty, a default text will be used') + '\n' + _('Allowed variables are: ') + '{code}, {username}, {justUsername}. {ip}', required=True, defvalue='', tab=_('Config'), @@ -168,7 +168,7 @@ class EmailMFA(mfas.MFA): label=_('Mail HTML'), order=34, multiline=4, - tooltip=_('HTML of the email. If empty, a default HTML will be used')+ '\n' + _('Allowed variables are: {code}, {username}, {ip}'), + tooltip=_('HTML of the email. If empty, a default HTML will be used')+ '\n' + _('Allowed variables are: ') + '{code}, {username}, {justUsername}, {ip}', required=False, defvalue='', tab=_('Config'),