I've added a new 2fa plugin to my evaluation Moodle install called a2fa
On completing the install through the web interface it immediately prompts me for my 2fa code despite the fact its not asked me to set one up, effectively locking me out of my moodle.
I can move the /auth/a2fa folder out of the web directory and regain access but when I go into plugins to remove it "properly" through the web interface it complains it can't find the files (understandably, as I just moved them )
I can't see how to remove the plugin. I've exported the DB and searched for the plugin name to see if its registered in any tables and it only appears in one table
mdl_files
as a zip file that's been uploaded
there's no install.php or uninstall.php file in the zip to indicate what files from the zip get put where, or at least no file that I can see that indicated what files are where.
What I can't work out is how, if I remove the files in the a2fa it somehow knows its still there...
Any help appreciated, or I'll have to back up my settings and reinstall moodle and restore which won't help my demo on Friday...