How to regain Admin access when Discourse ID is disabled and before ticking Enable Local Login option?

So I may have completely messed up and unable to forever gain access to my community. I wanted to turn off Discourse ID and let users sign up locally, with their own username and password, and not route through Discourse ID.

I am logged on my Discourse ID connected account, went to admin section, disabled Discourse ID, and ticked the “Enable Local Login.” However, I didn’t create any local accounts as admins.

Now I am unable to access my community at all. I click Sign Up, it just says Welcome with no login fields.

I go to Sign In, and it says No login methods are configured. Administrators can visit /u/admin-login to reconfigure the site.

I go to /u/admin-login, and enter my email, and I never receive the email.

What do I do?

Do you have ssh access to this site? You may be able to use the command line to gain access. Do you have email credentials configured for sending?