mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2788 from MarcusDalgren/session-cookie-fix
Fix Session::set_cookie_domain
This commit is contained in:
commit
11a809798b
@ -169,7 +169,7 @@ class Session {
|
||||
*/
|
||||
public static function set_cookie_domain($domain) {
|
||||
Deprecation::notice('3.2', 'Use the "Session.cookie_domain" config setting instead');
|
||||
Config::inst()->update('Session', 'cookie_domain', $age);
|
||||
Config::inst()->update('Session', 'cookie_domain', $domain);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user