diff --git a/src/Auth/Protect/Protectors/Password/Controller.php b/src/Auth/Protect/Protectors/Password/Controller.php index 3e0a890f186..c92ad9efcf6 100644 --- a/src/Auth/Protect/Protectors/Password/Controller.php +++ b/src/Auth/Protect/Protectors/Password/Controller.php @@ -19,7 +19,7 @@ class Controller extends BaseController public function show() { if ($this->tokenData = session('statamic:protect:password.tokens.'.request('token'))) { - $site = Site::findByUrl($this->getUrl()); + $site = Site::findByUrl($this->getUrl()) ?? Site::default(); $data = Data::find($this->tokenData['reference']); app()->setLocale($site->lang());