Skip to content
Snippets Groups Projects
Commit 73b071a1 authored by efalcy's avatar efalcy
Browse files

CAS Serveur test

parent 281111b1
Branches
Tags
No related merge requests found
......@@ -48,9 +48,10 @@ class CasServerController extends Zend_Controller_Action {
if (!ZendAfi_Auth::getInstance()->authenticateLoginPassword($username, $password))
echo "identifiant incorrect";
//return $this->view->_('Identifiant ou mot de passe incorrect.');
$user = Class_Users::getIdentity();
$this->_helper->trackEvent('authentification', 'login', $user->getId());
else {
$user = Class_Users::getIdentity();
$this->_helper->trackEvent('authentification', 'login', $user->getId());
}
$ticket = Zend_Session::getId();
// $this->_redirect($this->addURLparameter($service,['ticket' => $ticket]));
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment