Browse Source

Merge pull request #1793 from alexgalletti/patch-1

Allow the renaming of the drivers remember cookie
Taylor Otwell 11 years ago
parent
commit
dd7c317707
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)));
 	}
 	}
 
 
-}
+}