mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Merge pull request #29324 from overleaf/as-sso-ensure-email-confirmed
[web] Ensure email confirmedAt is always set for users created via Commons SSO GitOrigin-RevId: c00ea58a0f9e2a1e93d7edc3836aa815d8ba16ac
This commit is contained in:
@@ -71,7 +71,7 @@ async function createNewUser(attributes, options = {}) {
|
||||
createdAt: new Date(),
|
||||
reversedHostname,
|
||||
}
|
||||
if (Features.hasFeature('affiliations')) {
|
||||
if (Features.hasFeature('affiliations') && !options.requireAffiliation) {
|
||||
emailData.affiliationUnchecked = true
|
||||
}
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user