yii\authclient\AuthAction::redirectCancel PHP Method

redirectCancel() public method

Redirect to the [[cancelUrl]] or simply close the popup window.
public redirectCancel ( string $url = null ) : Response
$url string URL to redirect.
return yii\web\Response response instance.
    public function redirectCancel($url = null)
    {
        if ($url === null) {
            $url = $this->getCancelUrl();
        }
        return $this->redirect($url, false);
    }