Merge pull request #32143 from CelineBen/auth0-lock

[auth0-lock] Update defaultADUsernameFromEmailPrefix type to boolean
This commit is contained in:
Daniel Rosenwasser
2019-01-15 16:05:03 -08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -130,7 +130,8 @@ const otherOptions : Auth0LockConstructorOptions = {
hashCleanup: false,
leeway: 30,
_enableImpersonation: true,
_enableIdPInitiatedLogin: false
_enableIdPInitiatedLogin: false,
defaultADUsernameFromEmailPrefix: false
};
new Auth0Lock(CLIENT_ID, DOMAIN, otherOptions);
+1 -1
View File
@@ -130,7 +130,7 @@ interface Auth0LockConstructorOptions {
closable?: boolean;
configurationBaseUrl?: string;
container?: string;
defaultADUsernameFromEmailPrefix?: string;
defaultADUsernameFromEmailPrefix?: boolean;
defaultDatabaseConnection?: string;
defaultEnterpriseConnection?: string;
flashMessage?: Auth0LockFlashMessageOptions;