Try ERPNext Buy Support Partners Foundation

Got locked out of erpnext

Hi
In the process of setting up the two factor authentication using sms, i have been locked out
erpnext is not sending the otp
maybe my settings are not correct
i tried this
bench --site www.schaff.co.in execute frappe.twofactor.disable
it gives me error “site does not exist”
i get access to my site using https://www.schaff.co.in
its pretty urgent
please help
Regards
Hemanth

got it working
this is what i used
bench --site site1.local execute frappe.twofactor.disable
Admin can close this
Thanks and Regards
Hemanth