diff --git a/src/Cms/Auth.php b/src/Cms/Auth.php index c75015b7ec..f958b0a16f 100644 --- a/src/Cms/Auth.php +++ b/src/Cms/Auth.php @@ -343,7 +343,7 @@ public function impersonate(string|null $who = null): User|null 'id' => 'nobody', 'role' => 'nobody', ]), - default => $this->kirby->users()->find($who) ?? throw new NotFoundException(message: 'The user "' . $who . '" cannot be found') + default => $this->kirby->users()->find($who) ?? throw new NotFoundException(message: 'The user "' . $who . '" cannot be found'), }; }