diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2021-04-06 17:38:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2021-04-06 17:38:49 +0000 |
commit | 241ff304980c8bf542fdd1a2a47f73accf912ee1 (patch) | |
tree | 0192336d1a72df98ca5056b190f6d29e683079a0 /src/account/forms.py | |
parent | f1456220fcc098cb0f5e9fc60124680ff8aba6af (diff) | |
parent | d007fa661e2faf77e70cb75c8d520941e907ebf7 (diff) |
Merge "Remove exposure of users on dashboard"
Diffstat (limited to 'src/account/forms.py')
-rw-r--r-- | src/account/forms.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/account/forms.py b/src/account/forms.py index dd1a0a9..28cb27d 100644 --- a/src/account/forms.py +++ b/src/account/forms.py @@ -18,11 +18,12 @@ from account.models import UserProfile class AccountSettingsForm(forms.ModelForm): class Meta: model = UserProfile - fields = ['company', 'email_addr', 'ssh_public_key', 'pgp_public_key', 'timezone'] + fields = ['company', 'email_addr', 'public_user', 'ssh_public_key', 'pgp_public_key', 'timezone'] labels = { 'email_addr': _('Email Address'), 'ssh_public_key': _('SSH Public Key'), - 'pgp_public_key': _('PGP Public Key') + 'pgp_public_key': _('PGP Public Key'), + 'public_user': _('Public User') } timezone = forms.ChoiceField(choices=[(x, x) for x in pytz.common_timezones], initial='UTC') |