Auth_Basic::getURL PHP Method

getURL() public method

Return originalally requested URL.
public getURL ( ) : string
return string
    public function getURL()
    {
        $p = $this->recall('page');
        // If there is a login page, no need to return to it
        if ($p == 'login') {
            return $this->app->url('/');
        }
        $url = $this->app->url($p, $this->recall('args', null));
        $this->forget('page');
        $this->forget('args');
        return $url;
    }