public function isCMSBackendAuthenticated() { if (!$this->isAuthenticated()) { return false; } $auth = Session::get('auth\\admin'); return $auth; }
public function getUserId() { return Session::get('auth\\id'); }