Closed SKB-CGN closed 6 months ago
I removed it and copied it again into the plugins folder. I only had problems to scan the QR-Code bit I added it manually and it works.
I activated the plugin with roundcube 1.6.1 but it does not appear and it not working. try new installation of rc but also this plugin don't want to work. is there really a support for rc 1.6?
Yes, it works with RC 1.6 series. The issue is that the default config.inc.php comes with the author's email addresses in the $rcmail_config['users_allowed_2FA'] variable. Since our email address is different, the plugin isn't displayed inside RC.
To fix this, edit /plugins/twofactor_gauthenticator/config.inc.php and change this setting to: $rcmail_config['users_allowed_2FA'] = true;
With this setting users_allowed_2FA=true plugin still not appear in the setting.
Somehow the plugin is also not listed as "installed" even it is listed in the plugin section in the main-config of roundcube:
// List of active plugins (in plugins/ directory)
$config['plugins'] = [ 'jqueryui', 'markasjunk', 'twofactor_gauthenticator', ];
No clue what's missing...
Your twofactor folder has the permissions chmod 775 and belongs to your www user?
If not, please reinstall the plugin.
Further, try to edit the file:
To fix this, edit /plugins/twofactor_gauthenticator/config.inc.php and change this setting to:
$rcmail_config['users_allowed_2FA'] = true;
Set an array here, with the user email address.
$rcmail_config['users_allowed_2FA'] = ['my_allowed_user@mydomain.de', 'another_one@domain.de'];
Test it in the past and now also - nothing changed. Also permissions and ownership from the plugin-directory is as requested. Also different variations of "users_allowed_2FA". I also try with fresh "installation" of roundcube.
Take a look at the Rouncube error log file, it might give you a clue there.
i managed it out.... totally strange behavior.
my issue was, that the plugin didn't appear in the list even it's configured. Don't ask me why, but after restarting php8.1-fpm.service the plugin was listed and I'm able to configure 2fa.
Probably something cache-related.
If this is fixed, close the issue perhaps?
works for me using the simple boolean true
$rcmail_config['users_allowed_2FA'] = true;
Hi, I just upgraded to 1.6 but the plugin is not displayed anymore.
Is there a way to activate it again?
Thanks!