Fix #5983 - issue with login
[Pman.Base] / Pman / Login.php
index 9329349..f7e1047 100644 (file)
@@ -311,7 +311,9 @@ class Pman_Login extends Pman
             }
         }
         
-        //$u->active = 1;
+       // this was removed before - not quite sure why.
+       // when a duplicate login account is created, this stops the old one from interfering..
+        $u->active = 1;
         
         // empty username = not really a hacking attempt.