mirror of
https://github.com/friendica/friendica
synced 2025-04-25 16:30:10 +00:00
mail, i18n, etc.
This commit is contained in:
parent
f83aa6c8a5
commit
b399b20dee
16 changed files with 412 additions and 184 deletions
|
@ -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))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue