mail, i18n, etc.

This commit is contained in:
Mike Macgirvin 2010-07-30 06:09:20 -07:00
parent f83aa6c8a5
commit b399b20dee
16 changed files with 412 additions and 184 deletions

View file

@ -46,7 +46,7 @@ else {
if((x($_POST,'auth-params')) && $_POST['auth-params'] == 'login') {
$r = q("SELECT * FROM `user`
WHERE `email` = '%s' AND `password` = '%s' LIMIT 1",
WHERE `email` = '%s' AND `password` = '%s' AND `blocked` = 0 AND `verified` = 1 LIMIT 1",
dbesc(trim($_POST['login-name'])),
dbesc($encrypted));
if(($r === false) || (! count($r))) {