I have changed my phone, and lost my second factor keys on the app on the old phone. Need a 2fa reset please.
Description
Description
Event Timeline
Comment Actions
The 2FA reset process for Wikitech accounts is documented at https://wikitech.wikimedia.org/wiki/Password_reset#Reset_two_factor_authentication
Usually the easiest identity verification method is "Have the user write a request to disable 2fa in their home directory on a CloudVPS/Toolforge bastion." One way to do this:
$ ssh bastion.wmflabs.org $ cd $HOME $ touch 2fa-reset-request.txt $ chmod 0600 2fa-reset-request.txt $ echo "https://phabricator.wikimedia.org/T236441" > 2fa-reset-request.txt $ echo "$(hostname -f):$(pwd)/2fa-reset-request.txt"
Then come back here and make a comment including the output of the last command.
Comment Actions
$ ssh [email protected] $ ls -lh /home/matanya/2fa-reset-request.txt -rw------- 1 matanya wikidev 42 Oct 24 22:15 /home/matanya/2fa-reset-request.txt $ cat /home/matanya/2fa-reset-request.txt https://phabricator.wikimedia.org/T236441
$ ssh labweb1001.wikimedia.org $ mwscript extensions/OATHAuth/maintenance/disableOATHAuthForUser.php --wiki=labswiki 'Matanya' OATHAuth disabled for Matanya.
2FA disabled. Please do record your recovery codes when you re-enable 2FA at wikitech. They should let you fix a similar problem yourself in the future by using 1 code to authenticate to wikitech and a second code to disable your own 2FA setting.