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

hello,

is there a way to disable or enable 2fa via OTP just for some users?