From 676b01e6b65dda37472cbe6f5a1c8bc20842a5f5 Mon Sep 17 00:00:00 2001 From: Daniel Hromada Date: Mon, 31 Jan 2011 00:22:19 +0100 Subject: [PATCH] if hash column in the users table is not empty, do not allow a log in since the user is still not registered --- wwwroot/inc/eventz/login.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2