FluxBB\Actions\Login::run PHP Method

run() public method

public run ( )
    public function run()
    {
        $credentials = ['username' => $this->get('username'), 'password' => $this->get('password')];
        $remember = $this->get('remember');
        if (!$this->auth->login($credentials, $remember)) {
            throw new Exception('Login failure.');
        }
    }