We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96902c5 commit b592479Copy full SHA for b592479
src/netlify-identity.js
@@ -180,7 +180,7 @@ function runRoutes() {
180
}
181
182
function init(options = {}) {
183
- const { APIUrl } = options;
+ const { APIUrl, logo = true } = options;
184
const controlEls = document.querySelectorAll(
185
"[data-netlify-identity-menu],[data-netlify-identity-button]"
186
);
@@ -200,7 +200,7 @@ function init(options = {}) {
200
});
201
202
store.init(instantiateGotrue(APIUrl));
203
- if (options.logo) store.modal.logo = options.logo;
+ store.modal.logo = logo;
204
iframe = document.createElement("iframe");
205
iframe.id = "netlify-identity-widget";
206
iframe.onload = () => {
0 commit comments