Commit b125569b authored by Linus Lewandowski's avatar Linus Lewandowski

Implicitly trust all emails set thru the API.

parent df3929f1
Pipeline #12285193 passed with stages
in 5 minutes and 13 seconds
......@@ -18,6 +18,7 @@ class UserMixin:
eis = [ExternalIdentity.objects.forced_get(email=email) for email in val]
for ei in eis:
ei.user = self
ei.trusted = True
ei.save()
@property
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment