/** * Get the rememberme key from the cookie. * * @return string hte key found, or null if no key was found. */ protected function getRememberMeKeyFromCookie() { // Check if we can authenticate the user with a cookie-based token $cookieName = ConfigQuery::read('admin_remember_me_cookie_name', 'armcn'); $ctp = new CookieTokenProvider(); return $ctp->getKeyFromCookie($this->getRequest(), $cookieName); }
/** * Get the remember me key from the cookie. * * @return string hte key found, or null if no key was found. */ protected function getRememberMeKeyFromCookie(Request $request, $cookieName) { $ctp = new CookieTokenProvider(); return $ctp->getKeyFromCookie($request, $cookieName); }