How to disable two factor authentication for login

Is there any way from bench console to disable 2FA?

Replying to document answer to old query:

bench --site sitename execute frappe.twofactor.disable

1 Like