protected function storeIntendedUrl()
    {
        // Do not store the URL if it was the login itself
        $previousUrl = url()->previous();
        $loginUrl    = url()->route($this->core->prefixRoute(NamedRoute::AUTH_LOGIN));

        if ($previousUrl == $loginUrl) return;

        session()->put('url.intended', $previousUrl);
    }