dakira / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

[checked_identities] - Login fails first time user when used with virtuser_query plugin #739

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Token: 93d026daa01047259979fcb60249e964 (Don't modify this token!)
Version: 2.8.13 (21-02-2014)
PHP: 5.4.16
RCMAIL: 1.0.3
Database: mysql
SERVER: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16
----
I.  Issue Description: When used in combination with virtuser_query (fetch 
email address of email account whose username is not email and creates identity 
for it), it doesnt work as it should. When user logins the first time, it 
creates the identity and sends the link to confirm identity but logs out with 
"session time out" message. Next login works like it should.

I dont know if it matters but we use different server (in 
$config['virtuser_query_dns']) to fetch users email.

Ideally virtuser_query created identity should not go through 
checked_identities at all because the email is confirmed by our mailserver 
already.

II. Steps to reproduce the Issue:
1. enable virtuser_query and checked_identities plugin
2. set virtuser_query configs (SELECT and dsn information)
3. login with user that does not exist yet (whose account name is not email 
address)

Original issue reported on code.google.com by veltto.v...@gmail.com on 10 Oct 2014 at 6:11

GoogleCodeExporter commented 8 years ago
I have made it now not to check identities on login task. I have not tested 
your concrete issue discription. Please re-open ticket if it still does not 
work for you.

Original comment by myroundc...@gmail.com on 12 Oct 2014 at 12:28