Use primary email for CLA.
This commit is contained in:
parent
132856109e
commit
1c5ff45562
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class CLA(controllers.Controller):
|
||||||
emails = [];
|
emails = [];
|
||||||
for uid in key.uids:
|
for uid in key.uids:
|
||||||
emails.extend([uid.email])
|
emails.extend([uid.email])
|
||||||
if person.emails['cla'].email in emails:
|
if person.emails['primary'].email in emails:
|
||||||
verified = True
|
verified = True
|
||||||
else:
|
else:
|
||||||
turbogears.flash(_('Your key did not match your email.'))
|
turbogears.flash(_('Your key did not match your email.'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue