Login/Sign up modals empty

AI-generated summary

Login/Sign up modals empty: kuyashi reported that the login and sign up modals on their Discourse site were appearing empty, despite not editing any core files or seeing errors in the browser console. After investigation, riking suggested that the issue might be due to “enable local logins” being turned off, which would leave no login methods and an empty modal. kuyashi found a solution in a Meta Discourse thread, and fefrei also suggested an alternative admin-only email-based login method by visiting /users/admin-login.

For some reason both Login/Sign up modals are appearing empty when clicked.

The issue is consistent across browsers and devices.

I have not edited any core files.
No errors in browser console.
I have stop/restarted app and then did a rebuild - no change.
Turned of/on CDN - no change.

Discourse is located at: removed

Anybody have ideas ?

Have you turned off all login methods?

I hadn’t enable any other methods apart from default.

Okay, but is “enable local logins” turned off? Which would leave you with no login methods, and therefore nothing to put in the login modal…

Ah ok, I see - It is possible that another dev on project may have.

I am however logged out on front end, is there a way to login apart from the modal ?

All good, I found:

https://meta.discourse.org/t/disabled-local-logins-locked-out-of-site/20963/2?u=kuyashi

I’ll re-categorize to support.

Thanks @riking

There’s also another way: You can visit /users/admin-login for an admin-only email based login.