Skip to content
Snippets Groups Projects
Commit 3c62f550 authored by pbarroca's avatar pbarroca
Browse files

Correction chevauchement de l'authentification

parent 74d357d1
Branches
Tags
No related merge requests found
......@@ -22,12 +22,17 @@
class ZendAfi_Auth extends Zend_Auth {
public static function getInstance() {
if (null === self::$_instance) {
self::$_instance = new self();
$instance = new self();
$instance->setStorage(
new Zend_Auth_Storage_Session(Zend_Auth_Storage_Session::NAMESPACE_DEFAULT
. md5(BASE_URL)));
self::$_instance = $instance;
}
return self::$_instance;
}
public static function setInstance($instance) {
self::$_instance = $instance;
return self::$_instance;
......
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