MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / isEmailCodeLoginEnabled

Function isEmailCodeLoginEnabled

packages/shared/src/utils.ts:132–138  ·  view source on GitHub ↗
(org: Org)

Source from the content-addressed store, hash-verified

130}
131
132export const isEmailCodeLoginEnabled = (org: Org): boolean => {
133 if (env.AUTH_EMAIL_CODE_LOGIN_ENABLED !== undefined) {
134 return env.AUTH_EMAIL_CODE_LOGIN_ENABLED === 'true';
135 }
136
137 return org.isEmailCodeLoginEnabled;
138}
139
140export const isMemberApprovalRequired = (org: Org): boolean => {
141 if (env.REQUIRE_APPROVAL_NEW_MEMBERS !== undefined) {

Callers 2

getProvidersFunction · 0.90
page.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected