northox / roundcube-yubikey-plugin

A plugin to use Yubico's Yubikey 2nd factor with Roundcube webmail
GNU General Public License v2.0
31 stars 6 forks source link

Install instructions not clear enough #14

Closed herriett closed 8 years ago

herriett commented 8 years ago

The directory name of the plugin must be not "e.g." yubikey_authentication, but exactly this. Otherwise, if you e.g. use yubikey as directory name and plugin name, then this error occurs:

PHP Error: Failed to load plugin file /xxx/plugins/yubikey/yubikey.php in /dxxx/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 198 (GET /mail/)

northox commented 8 years ago

Actually, the Readme says it need to be named the same: the directory and within the config.

Please proposed changes (or send a pull request).

herriett commented 8 years ago

It is just for clarification, as the current wording

"Install the code in the plugin directory (i.e. roundcube/plugins/yubikey_authentication/)."

is misleading. i.e. means for example. I first named it /yubikey and it did not work. But the name has to be exacly "yubikey_authentication" and nothing else.

Therefore I suggest using

"1. Install the code in the plugin directory and name it exactly yubikey_authentication (roundcube/plugins/yubikey_authentication/)"

northox commented 8 years ago

Thanks!