17 May
2009
17 May
'09
9:09 p.m.
On Sun, 2009-05-17 at 14:48 +0000, Konstantin wrote:
password_query = SELECT NULL AS password, 'Y' as nopassword, userid AS user FROM main.mail_base WHERE userid = '%n' AND password = '%w' and domain='%d'
"userid AS user" drops the domain. Use rather:
select .., userid AS username, domain