mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 22:41:35 -05:00
e6a8f3d04f
[web] disable primary email check in Server CE/Pro GitOrigin-RevId: be40160aecae7f19780a67e5cdd9356be232ee22
10 lines
402 B
Diff
10 lines
402 B
Diff
--- services/web/app/src/Features/Project/ProjectController.js
|
|
+++ services/web/app/src/Features/Project/ProjectController.js
|
|
@@ -535,6 +535,7 @@ const ProjectController = {
|
|
|
|
if (
|
|
user &&
|
|
+ Features.hasFeature('saas') &&
|
|
UserPrimaryEmailCheckHandler.requiresPrimaryEmailCheck(user)
|
|
) {
|
|
return res.redirect('/user/emails/primary-email-check')
|