Browse Source

Merge 8b7eee070d into 0cefa4cca7

pull/7465/merge
Fredrik Ekre 7 days ago
committed by GitHub
parent
commit
18b41435fa
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/api/identity.rs

4
src/api/identity.rs

@ -336,6 +336,10 @@ async fn sso_login(
user.name = user_name.clone(); user.name = user_name.clone();
} }
user.save(conn).await?;
} else if user.verified_at.is_none() && user.email == user_infos.email {
// The email verification is handled by the provider, backfill for accounts created before SSO
user.verified_at = Some(now);
user.save(conn).await?; user.save(conn).await?;
} }

Loading…
Cancel
Save