fix rendering the public credential share page in 'public' render mode (instead of 'user' mode)

(which seems to just magically worked the last years)
fixes #831

Signed-off-by: binsky <timo@binsky.org>
This commit is contained in:
binsky 2025-03-09 16:49:45 +01:00
parent fd47e153af
commit fcc7a1c4d1
No known key found for this signature in database
GPG key ID: B438F7FA2E3AC98F

View file

@ -53,7 +53,7 @@ class PageController extends Controller {
* @PublicPage
*/
public function publicSharePage() {
return new TemplateResponse($this->appName, 'public_share');
return new TemplateResponse($this->appName, 'public_share', [], TemplateResponse::RENDER_AS_PUBLIC);
}
}