Hi,
I have a simple site: Maintenance
on the maintenance page, I want the login to pop automatically on the page before the user can edit the content of the page or login to pop up before they can hit submit.
what is the best way to trigger login pop up on the page using netlify’s identity function?
This falls in the area of writing custom code for your site, which falls outside the scope of support, but we can mention specific guidelines or point to the required docs.
The code to open the login modal is here: GitHub - netlify/netlify-identity-widget: A zero config, framework free Netlify Identity widget, specifically:
// Open the modal
netlifyIdentity.open();
I’ve closed your other (duplicate) thread - please post any related questions about the same topic in this thread.
1 Like
Thank you Hrishikesh, I’ll look into this.