You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the label is set to true, which is the default, the label's text can be customized through the [languageDictionary](#languagedictionary-object-) option.
271
279
272
280
#### logo {String}
273
281
@@ -276,24 +284,30 @@ The value for `logo` is an URL for an image that will be placed in the Lock's he
The `primaryColor` property defines the primary color of the Lock; all colors used in the widget will be calculated from it. This option is useful when providing a custom `logo`, to ensure all colors go well together with the `logo`'s color palette. Defaults to `#ea5323`.
@@ -304,38 +318,51 @@ Determines the size of the buttons for the social providers. Possible values are
304
318
- If only social connections are available, it will default to `big` when there are 5 connections at most, and default to `small` otherwise.
305
319
- If connections from types other than social are also available, it will default to `big` when there are 3 social connections at most, and default to `small` otherwise.
306
320
321
+
First example, with three social connections, and other connections - forcing small buttons.
322
+
307
323
```js
308
-
// First image, with three connections, and other connections - forcing small buttons
@@ -540,6 +570,15 @@ Some use cases may be able to use `additionalSignupFields` data for email templa
540
570
541
571
When set to `false` the widget won't display the login screen. This is useful if you want to use the widget just for signups (the login and signup tabs in the signup screen will be hidden) or to reset passwords (the back button in the forgot password screen will be hidden). In such cases you may also need to specify the `initialScreen`, `allowForgotPassword` and `allowSignUp` options. It defaults to `true`.
When set to false, `allowForgotPassword` hides the "Don't remember your password?" link in the Login screen, making the Forgot Password screen unreachable. Defaults to true.
@@ -548,15 +587,14 @@ When set to false, `allowForgotPassword` hides the "Don't remember your password
548
587
Keep in mind that if you are using a database connection with a custom database which doesn't have a change password script the Forgot Password screen won't be available.
0 commit comments