user:disable-two-factor command allows administrators to disable two-factor authentication (2FA) for users who have lost access to their authenticator app or recovery codes.
Command Signature
Usage Examples
Running in Docker
- Docker Compose
- Docker (standalone)
Use
-it flags for interactive commands (without --force) to allow the confirmation prompt.Security Notes
- All operations are logged to the Slack admin channel with user ID, email, reason, and admin override status
- Admin users require
--allow-adminflag and cannot bypass confirmation with--force - Users who can access their authenticator should disable 2FA through their account settings instead