Merged in [16106] from rjsparks@nostrum.com:
Don't allow users to edit the 'active' value for unknown-email-* addresses. Related to #2696.
- Legacy-Id: 16120
Note: SVN reference [16106] has been migrated to Git commit 6a2cf42e5c
This commit is contained in:
commit
9318ae8171
|
@ -200,7 +200,7 @@ def profile(request):
|
|||
person = request.user.person
|
||||
|
||||
roles = Role.objects.filter(person=person, group__state='active').order_by('name__name', 'group__name')
|
||||
emails = Email.objects.filter(person=person).order_by('-active','-time')
|
||||
emails = Email.objects.filter(person=person).exclude(address__startswith='unknown-email-').order_by('-active','-time')
|
||||
new_email_forms = []
|
||||
|
||||
if request.method == 'POST':
|
||||
|
|
Loading…
Reference in a new issue