Disable 2FA Umbrel

I wanted to disable 2FA, I changed my cell phone and I no longer have access to 2FA

From v1.x. you can run this command to remove the 2FA:

sudo yq e 'del(.user.totpUri)' -i ~/umbrel/umbrel.yaml

1 Like

Hi , What worked for me was this command here:

json_file=β€œ$umbrel/db/user.json” && contents=β€œ$(jq β€˜del(.otpUri)’ ${json_file})” && echo β€œ${contents}” | sudo tee ${json_file}