We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22390
    • 11 Posts
    :’(

    Anybody know?

    And i have another question.. How i can to make MODx only accept One user in one computer, because i can login in two or more computers at same time.. sad and i believe that it’s a security issie
      • 25663 MODX Staff
      • 12,272 Posts
      Unless you’re logged in and your computer crashes or worse dies. Or you forget to logout at work and need to tweak something on your laptop before a meeting or at home.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 22390
        • 11 Posts
        grin

        Hi.. i change the SQL SET.. in login.processor.php

        SET failedlogincount=0,

        TO

        SET failedlogincount=’$failedlogins’


        if(!isset($_SESSION[’mgrValidated’])) {
        $sql = "update $dbase.`".$table_prefix."user_attributes` SET failedlogincount=’$failedlogins’, logincount=logincount+1, lastlogin=thislogin, thislogin=".time().", sessionid=’$currentsessionid’ where internalKey=$internalKey";
        $rs = mysql_query($sql);
        }

        This is the reason for the counter failedlogincount never change laugh, but now works

        :D

        Thnks for answers