Update token on regeneration for public login

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-06-19 11:45:18 +02:00
parent 1bb8bc8ff9
commit 6de656e435
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ abstract class AuthPublicShareController extends PublicShareController {
return $response;
}
$this->session->regenerateId();
$this->session->regenerateId(true, true);
$response = $this->getRedirect();
$this->session->set('public_link_authenticated_token', $this->getToken());