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 = [];
|
||||
for uid in key.uids:
|
||||
emails.extend([uid.email])
|
||||
if person.emails['cla'].email in emails:
|
||||
if person.emails['primary'].email in emails:
|
||||
verified = True
|
||||
else:
|
||||
turbogears.flash(_('Your key did not match your email.'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue