diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2018-06-18 13:25:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 13:25:18 +0200 |
commit | 60adc92eb5a078b327ca2c1139a2fc1d729f714f (patch) | |
tree | ce154e8aadf8695080915360c7d3ef6e7876acf9 /apps | |
parent | 0ad1f19a74a52e270b488dc04ffbbfd692cd68ce (diff) | |
parent | 8c47a632e0afc5b38093818f70dcf4cdead42b4d (diff) | |
download | nextcloud-server-60adc92eb5a078b327ca2c1139a2fc1d729f714f.tar.gz nextcloud-server-60adc92eb5a078b327ca2c1139a2fc1d729f714f.zip |
Merge pull request #9823 from nextcloud/bufgix/noid/update_token_on_session_id_regenerate
Update the token on session regeneration
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php index da0da6c27a8..739031d4bc2 100644 --- a/apps/files_sharing/lib/Controller/ShareController.php +++ b/apps/files_sharing/lib/Controller/ShareController.php @@ -217,7 +217,7 @@ class ShareController extends Controller { private function linkShareAuth(\OCP\Share\IShare $share, $password = null) { if ($password !== null) { if ($this->shareManager->checkPassword($share, $password)) { - $this->session->regenerateId(); + $this->session->regenerateId(true, true); $this->session->set('public_link_authenticated', (string)$share->getId()); } else { $this->emitAccessShareHook($share, 403, 'Wrong password'); |