If you removed node_modules then you need to reinstall it using npm i nodebb-plugin-emailer-mandrill.
The reason it doesn't show up in acp plugin list is because of the latest changes to nbbpm. See here for details.
@julian Nice feature, but i got 'id and credid were the same'
I am using 1.18.6, nodebb-plugin-2factor is 3.0.2
My yubico key works on yubico test site
Hi @frankm -- thanks for reporting... regarding the error message: "were the same" or not the same?
This is significant because
credId are supposed to be the same @yLothar helped me work through an issue where they were not the same, and that was fixed in v3.0.3 of the plugin.
Edit: I took a closer look at your post, and you are using the funky (not in a good way) v3.0.2 version. Please upgrade to v3.0.4
After testing 3.0.2 and seeing the error message, I discovered version 3.04 and updated the plugin. I could then register the key, baer after logging out and logging in again nothing worked.....
A search revealed that the forum stopped working because of an error message....
The only possibility was now the following
./nodebb reset -p nodebb-plugin-2factor
2022-01-11T15:55:29.071Z [4568/85668] - error: [plugins] Error executing 'static:sockets.validateSession' in plugin 'nodebb-plugin-2factor' Error: [[2factor:second-factor-required]] at plugin.checkSocket (/home/user_radforum/nodebb/node_modules/nodebb-plugin-2factor/library.js:323:9) at processTicksAndRejections (node:internal/process/task_queues:96:5) [..shortened..]
@frankm That error shouldn't crash NodeBB. What do you mean when you say "nothing happens"?
@julian Forum down and forum constantly restarts and crashes.
@frankm I believe this is fixed in
It's specifically an issue with Node v16... downgrading to v14 should fix the issue for now.
@julian It works