Пример #1
0
 public function isCMSBackendAuthenticated()
 {
     if (!$this->isAuthenticated()) {
         return false;
     }
     $auth = Session::get('auth\\admin');
     return $auth;
 }
Пример #2
0
 public function getUserId()
 {
     return Session::get('auth\\id');
 }