]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/auth/class_CookieAuth.php
Continued CSV parsing:
[core.git] / inc / classes / main / auth / class_CookieAuth.php
index e302ccb23d6bd61935ac91aa79fe481c22628011..8860003588f1cf8697507653fee255695f384f0d 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A cookie-bases authorization class
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -38,7 +38,7 @@ class CookieAuth extends BaseFrameworkSystem implements Authorizeable, Registera
         * @param       $responseInstance       An instance of a Responseable class
         * @return      $loginInstance          An instance of this login class
         */
-       public final static function createCookieAuth (Responseable $responseInstance) {
+       public static final function createCookieAuth (Responseable $responseInstance) {
                // Get a new instance
                $loginInstance = new CookieAuth();
 
@@ -66,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);
        }
 
        /**