Ejemplo n.º 1
0
Archivo: Sso.php Proyecto: nabble/ajde
 public function getUser()
 {
     $hash = $this->getUidHash();
     $model = new SsoModel();
     if ($hash && $model->loadByField('uid', $hash)) {
         $model->loadParent('user');
         return $model->getUser();
     } else {
         return false;
     }
 }