nursoda / twofactor_email

Nextcloud 2FA Provider that uses e-mail as transport
GNU Affero General Public License v3.0
25 stars 11 forks source link

Disabling of twofactor_email does not work :-( #377

Open MyDJB68 opened 5 months ago

MyDJB68 commented 5 months ago

As Nextcloud 29 still is not allowing to install the app, I went back to 28.0.5 and tried to disable 2-factor e-mail via

sudo -u http php82 -d memory_limit=1024M occ twofactorauth:disable 'myuser' email

Buit I get the error message: The provider does not support this operation.

How can I get rid of 2-factor e-mail authentification completely until compatibility to v29 is available?

AndyXheli commented 5 months ago

The occ console is located in the Nextcloud directory, so you need to change to that directory first before issuing the command to disable the app (change capital letters to fit your needs):

cd /PATH/TO/NEXTCLOUD sudo -u www-data php occ app:disable NAME_OF_APP

If you don‘t know the name of the app, you can list all apps with:

sudo -u www-data php occ app:list