Marcio Merlone writes:

My question is if there is a way to make users login using either their id (xpto123) OR address ([EMAIL PROTECTED]). I notice that the mysql query sent by courier is something like this:

SELECT id, crypt, "", uid, gid, home, maildir, quota, name FROM users WHERE id = "xpto123"

It should be something like this:

SELECT id, crypt, "", uid, gid, home, maildir, quota, name FROM users WHERE id = "xpto123" OR address='xpto123'
Insert two records into users, identical in all ways except the id field.



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Reply via email to