X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fauth%2Fclass_CookieAuth.php;h=9e5d3fe2feb931de76650f18c0298ae47eaab9b3;hb=c57e393c7b663704100ed4d6aab08eceebe09088;hp=d7108477505b49f64330181d30f4d1d857a09810;hpb=361e6320e50a8bb1a3ccb675388b8042361669ae;p=core.git diff --git a/inc/classes/main/auth/class_CookieAuth.php b/inc/classes/main/auth/class_CookieAuth.php index d7108477..9e5d3fe2 100644 --- a/inc/classes/main/auth/class_CookieAuth.php +++ b/inc/classes/main/auth/class_CookieAuth.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 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(); } /** @@ -42,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(); @@ -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); } /**