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.
|
# Prefer a verified mail.
|
||||||
new_primary = (
|
new_primary = (
|
||||||
others.filter(verified=True).last() or
|
others.filter(verified=True).last() or others.last()
|
||||||
others.last()
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if new_primary:
|
if new_primary:
|
||||||
|
|
Loading…
Reference in a new issue