From: Daniel Hromada Date: Sun, 30 Jan 2011 23:22:19 +0000 (+0100) Subject: if hash column in the users table is not empty, do not allow a log in since the... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=676b01e6b65dda37472cbe6f5a1c8bc20842a5f5;p=mirrors%2FKyberia-bloodline.git if hash column in the users table is not empty, do not allow a log in since the user is still not registered --- diff --git a/wwwroot/inc/eventz/login.inc b/wwwroot/inc/eventz/login.inc index 94c6b9b..0f7bcf0 100644 --- a/wwwroot/inc/eventz/login.inc +++ b/wwwroot/inc/eventz/login.inc @@ -53,7 +53,7 @@ function login() { $error="Zadal si nespravne uzivatelske meno [alebo id] alebo heslo. Rob so sebou nieco"; return false; } - elseif ($set->getString('header_id') == 2091520) { + elseif ($set->getString('hash')) { $error='Tvoja registracia este nebola schvalena.'; return false; }