Registry rewritten, exception added #2
[core.git] / inc / classes / main / auth / class_CookieAuth.php
index 6ef55044a176f4f667632b065892f79c137b48ff..0d8ed6bf75c30dfea5806b35dbcffa9b52802af7 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -30,10 +30,6 @@ class CookieAuth extends BaseFrameworkSystem implements Authorizeable, Registera
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Clean up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
        }
 
        /**
@@ -70,7 +66,7 @@ class CookieAuth extends BaseFrameworkSystem implements Authorizeable, Registera
         * @return      void
         */
        public function setPasswordAuth ($passHash) {
-               $this->getResponseInstance()->addCookie('u_hash', $passHash, true);
+               $this->getResponseInstance()->addCookie('u_hash', $passHash);
        }
 
        /**