diff options
author | Joas Schilling <coding@schilljs.com> | 2021-09-14 14:40:56 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-09-14 14:40:56 +0300 |
commit | 741441bbca619779aa9f059467282673fe90732e (patch) | |
tree | b49be35db93c1e7d766903fb1d591b0abeda6c4e /lib | |
parent | a4798e4634fb77afaefa6212ea3518308f2cd12f (diff) |
Fix renewing the session id after password use
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/TalkSession.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/TalkSession.php b/lib/TalkSession.php index 44ef46c98..4c3b02c7e 100644 --- a/lib/TalkSession.php +++ b/lib/TalkSession.php @@ -133,7 +133,7 @@ class TalkSession { $this->session->set($key, json_encode($values)); } - public function renewSessionId() { - $this->session->regenerateId(); + public function renewSessionId(): void { + $this->session->regenerateId(true, true); } } |