Skip to content
Browse files

MINOR Fixed regression from r114504

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114505 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent a0a88af commit 50f823697cf8d5225d239653e8aa890f0bec535d @chillu chillu committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 security/Member.php
View
3 security/Member.php
@@ -328,7 +328,8 @@ function logIn($remember = false) {
if($remember) {
$generator = new RandomGenerator();
- $this->RememberLoginToken = $generator->generateHash('sha1');
+ $token = $generator->generateHash('sha1');
+ $this->RememberLoginToken = $token;
Cookie::set('alc_enc', $this->ID . ':' . $token, 90, null, null, null, true);
} else {
$this->RememberLoginToken = null;

0 comments on commit 50f8236

Please sign in to comment.
Something went wrong with that request. Please try again.