if hash column in the users table is not empty, do not allow a log in since the...
authorDaniel Hromada <hromi@Aphrodité.(none)>
Sun, 30 Jan 2011 23:22:19 +0000 (00:22 +0100)
committerDaniel Hromada <hromi@Aphrodité.(none)>
Sun, 30 Jan 2011 23:22:19 +0000 (00:22 +0100)
wwwroot/inc/eventz/login.inc

index 94c6b9b96702ebc3615830a0b838d5731e596397..0f7bcf0089a7f30b7818ba4f41a7a37b5c6e2c02 100644 (file)
@@ -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;
     }
This page took 0.105443 seconds and 4 git commands to generate.