No such command "enable_two_factor_auth"

Hi there,

I followed the instruction ( https://erpnext.org/docs/user/manual/en/setting-up/articles/setup-two-factor-authentication ) to enable 2FA.

But I got Error: No such command “enable_two_factor_auth”. as below.

user@host:~/frappe-bench$ bench --site site1.local enable_two_factor_auth true
Usage: bench frappe [OPTIONS] COMMAND [ARGS]...
Try "bench frappe --help" for help.

Error: No such command "enable_two_factor_auth".

What is the cause of this this error?

Thank you in advance,
Tetsuya

Any help, please?

I’m not sure but are both erpnext and frappe on the same branch i.e. master. Check that out.