public function onLogin(Login $event)
    {
        $ip = $this->request->getClientIp();

        $this->updateFields($this->auth, $ip);
    }
public function onLogin(Login $event)
    {
        $ip = $this->request->getClientIp();

        $this->updateFields($this->auth, $ip);
    }
public function onLogin ( Login $ event ) { $ ip = $ this -> request -> getClientIp ( ) ; $ this -> updateFields ( $ this -> auth , $ ip ) ; }
Listener for the login event.

@param \Illuminate\Auth\Events\Login $event The event that was fired.

@return bool
Listener for the login event .