Update to Auth0LockConstructorOptions (#24781)

The member 'avatar' should allow 'null', to be consistent with the documentation at:
https://auth0.com/docs/libraries/lock/v11/configuration#avatar-object-

I discovered this when I was trying to figure out why I was seeing 404 errors to gravitar.com in my browser console when logging in.
This commit is contained in:
Justin Francos
2018-04-09 13:32:40 -04:00
committed by Mohamed Hegazy
parent 6e605f1695
commit 0b59f703b5

View File

@@ -118,7 +118,7 @@ interface Auth0LockConstructorOptions {
auth?: Auth0LockAuthOptions;
autoclose?: boolean;
autofocus?: boolean;
avatar?: Auth0LockAvatarOptions;
avatar?: Auth0LockAvatarOptions | null;
clientBaseUrl?: string;
closable?: boolean;
configurationBaseUrl?: string;