Fix #5983 - issue with login
authorAlan Knowles <alan@roojs.com>
Mon, 12 Aug 2019 06:05:57 +0000 (14:05 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 12 Aug 2019 06:05:57 +0000 (14:05 +0800)
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.