New longterm_install options #24
1 changed files with 1 additions and 2 deletions
|
@ -116,8 +116,7 @@ def remove_email(user, email):
|
|||
|
||||
# Prefer a verified mail.
|
||||
new_primary = (
|
||||
others.filter(verified=True).last() or
|
||||
others.last()
|
||||
others.filter(verified=True).last() or others.last()
|
||||
)
|
||||
|
||||
if new_primary:
|
||||
|
|
Loading…
Reference in a new issue