This commit is contained in:
Michael McGrath 2008-03-10 15:55:21 -05:00
parent 1f8b7ef026
commit f9b2dd8825

View file

@ -262,7 +262,7 @@ class People(SABase):
del props['postal_address']
del props['telephone']
del props['facsimile']
elif not identity.current.user.username == self.username and 'fas-system' not in identity.current.groups::
elif not identity.current.user.username == self.username and 'fas-system' not in identity.current.groups:
# Only an admin or the user themselves can see these fields
del props['password']
del props['passwordtoken']