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