src/Webiny/Login/Login.php
private function incrementLoginAttempts()
    {
        $rc = new LoginRateControlEntity();
        $rc->ip = $this->ip;
        $rc->username = $this->username;
        $rc->timestamp = time();
        $rc->save();
    }
private function incrementLoginAttempts()
    {
        $rc = new LoginRateControlEntity();
        $rc->ip = $this->ip;
        $rc->username = $this->username;
        $rc->timestamp = time();
        $rc->save();
    }
private function incrementLoginAttempts ( ) { $ rc = new LoginRateControlEntity ( ) ; $ rc -> ip = $ this -> ip ; $ rc -> username = $ this -> username ; $ rc -> timestamp = time ( ) ; $ rc -> save ( ) ; }
Increments the number of login attempts for the current username and IP.
Increments the number of login attempts for the current username and IP .