diff --git a/src/Illuminate/Auth/Passwords/CacheTokenRepository.php b/src/Illuminate/Auth/Passwords/CacheTokenRepository.php index 8a2ec3de6656..4fb7c67ae16b 100644 --- a/src/Illuminate/Auth/Passwords/CacheTokenRepository.php +++ b/src/Illuminate/Auth/Passwords/CacheTokenRepository.php @@ -42,7 +42,7 @@ public function create(CanResetPasswordContract $user) $this->cache->put( $this->prefix.$user->getEmailForPasswordReset(), - [$token, Carbon::now()->format($this->format)], + [$this->hasher->make($token), Carbon::now()->format($this->format)], $this->expires, );