Skip to content

Commit ed23248

Browse files
committed
Update token on regeneration for public login
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent e08ddfa commit ed23248

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/public/AppFramework/AuthPublicShareController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ final public function authenticate(string $password = '') {
129129
return $response;
130130
}
131131

132-
$this->session->regenerateId();
132+
$this->session->regenerateId(true, true);
133133
$response = $this->getRedirect();
134134

135135
$this->session->set('public_link_authenticated_token', $this->getToken());

0 commit comments

Comments
 (0)