We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1a6a9 commit ca2468bCopy full SHA for ca2468b
src/Auth/Protect/Protectors/Password/Controller.php
@@ -17,11 +17,12 @@ public function show()
17
{
18
if ($this->tokenData = session('statamic:protect:password.tokens.'.request('token'))) {
19
$site = Site::findByUrl($this->getUrl());
20
+ $data = Data::find($this->tokenData['reference']);
21
22
app()->setLocale($site->lang());
23
}
24
- return View::make('statamic::auth.protect.password');
25
+ return View::make('statamic::auth.protect.password')->cascadeContent($data ?? null);
26
27
28
public function store()
0 commit comments