loki36 / user-otp

OTP Backend for owncloud
34 stars 21 forks source link

Missing argument 1 for OC_User_IMAP::__construct() with IMAP user backend #83

Open ph0lk3r opened 10 years ago

ph0lk3r commented 10 years ago

When using the internal OC IMAP user backend and trying to log in with a user previously unknown to the OC backend, I get the following error message and the login fails.

Missing argument 1 for OC_User_IMAP::__construct(), called in /path/to/owncloud7/apps/user_otp/lib/otp.php on line 88 and defined at /path/to/owncloud7/apps/user_external/lib/imap.php#27

Logging in with a user already known to the system works well. I have an OC6 instance running with IMAP login enabled on the same server so I'm sure IMAP login works well in normal cases.

Steps to reproduce: Install OC 7.0.3 Add some test users Install & configure user-otp plugin from github Activate user-otp for one or another test user (everything works well until here) Configure IMAP user backend (http://doc.owncloud.org/server/7.0/admin_manual/configuration/custom_user_backend.html#imap) Try to login with a valid email user