Welcome to the new Box Support website. Check out all the details here on what’s changed.

How to exempt user from two-factor auth using Box CLI

New post

Comments

2 comments

  • Alex Novotny

    Hello, 

    What error are you getting? 

    Thanks, 

    Alex, Box Developer Advocate

    0
    Comment actions Permalink
  • 杉本 浩樹

    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'];

    0
    Comment actions Permalink

Post is closed for comments.