Browse Source

Allow the renaming of the drivers remember cookie

Alex 11 years ago
parent
commit
f5997b7f97
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/auth/drivers/driver.php

+ 2 - 2
laravel/auth/drivers/driver.php

@@ -215,7 +215,7 @@ abstract class Driver {
 	 */
 	 */
 	protected function recaller()
 	protected function recaller()
 	{
 	{
-		return $this->name().'_remember';
+		return Config::get('auth.cookie', $this->name().'_remember');
 	}
 	}
 
 
 	/**
 	/**
@@ -228,4 +228,4 @@ abstract class Driver {
 		return strtolower(str_replace('\\', '_', get_class($this)));
 		return strtolower(str_replace('\\', '_', get_class($this)));
 	}
 	}
 
 
-}
+}