fix: Automatically disable email sign-in when SMTP is not configured

fix: Do not show email signin as enabled when SMTP configured
closes #3227
This commit is contained in:
Tom Moor
2022-03-12 17:01:46 -08:00
parent f44b5708c3
commit e30f6e937c
5 changed files with 19 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ export default function present(team: Team) {
collaborativeEditing: team.collaborativeEditing,
defaultCollectionId: team.defaultCollectionId,
documentEmbeds: team.documentEmbeds,
guestSignin: team.guestSignin,
guestSignin: team.emailSigninEnabled,
subdomain: team.subdomain,
domain: team.domain,
url: team.url,