How to exempt user from two-factor auth using Box CLI
Hello.
Please tell me how to exempt two-factor verification using Box CLI.
I'd like to exempt two-factor verification for accounts. I used the following command but couldn't that.
box users:update ID --exempt-from-2fa
-
I found that BOXCLI cannot change the exempted two-factor authentication due to an error in the source code.
You can fix the problem with the following fixes:・CLI ver
v2.9.0・Bug target file(Number of lines)
src\commands\users\update.js(L21)・Modification place
before:updates.is_exempt_login_verification = flags['exempt-from-2fa'];
after:updates.is_exempt_from_login_verification = flags['exempt-from-2fa'];
Post is closed for comments.
Comments
2 comments