alexandregz / twofactor_gauthenticator

This RoundCube plugin adds the 2-step verification(OTP) to the login proccess
MIT License
214 stars 74 forks source link

Problem using plugin with roundcubemail docker #153

Open brot opened 2 years ago

brot commented 2 years ago

I'm using the roundcubemail docker setup and I'm struggle to configure the plugin.

What's the best way to set the settings for your plugin when using the docker setup? Especially users_allowed_2FA, because without overwriting the default value the plugin is not working. Or it would also be great if the default value of users_allowed_2FA would work for all users and there is no need to overwrite it.

The plugin/twofactor_gauthenticator/config.inc.php gets overwriten every time I (re)start the container. And the "Advanced configuration" for the container does not work, because the plugin config.inc.php file has higher priority when merging/reading the configuration and therefore I'm not able to set the config values to my needs