forceFill([ 'password' => Hash::make($plainPassword), 'remember_token' => Str::random(60), ])->save(); if ($currentSession !== null) { $this->sessions->revokeOthersFor($user, $currentSession); } else { $this->sessions->revokeAllFor($user); } $this->notifier->notify($user, SecurityChange::PasswordChanged); } }