diff options
author | 2021-03-24 17:22:54 -0400 | |
---|---|---|
committer | 2021-03-29 16:21:47 -0400 | |
commit | d007fa661e2faf77e70cb75c8d520941e907ebf7 (patch) | |
tree | 69b83bf903635768ac8614bfd799de998bb046ea /src/account/forms.py | |
parent | f6753ae2c5f54fb79375214590e565218b1bf0d7 (diff) |
Remove exposure of users on dashboard
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: I83b93d9247a7eafb54e4a5761d1423a504d86400
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') |