To disable Two-Factor Authentication (2FA) if you have lost access to your 2FA app but still remember your Umbrel password, follow these steps:
- Connect to your Umbrel device by following the instructions in How to SSH into Umbrel on a Raspberry Pi or by accessing a terminal on your Linux machine.
- Run the following command. If you are on a Linux machine, you may need to replace
~
with the path to your installation directory, as described in Troubleshooting on Linux:json_file="$HOME/umbrel/db/user.json" && contents="$(jq 'del(.otpUri)' ${json_file})" && echo "${contents}" | sudo tee ${json_file}
This will disable 2FA.