Upgrade to 3.2.3

This commit is contained in:
Bastian Allgeier
2019-08-06 10:24:12 +02:00
parent 40f095f5de
commit 02be32bb75
48 changed files with 356 additions and 114 deletions

View File

@@ -2,6 +2,8 @@
namespace Kirby\Cms;
use Throwable;
/**
* AppUsers
*
@@ -88,7 +90,11 @@ trait AppUsers
if (is_string($this->user) === true) {
return $this->auth()->impersonate($this->user);
} else {
return $this->auth()->user();
try {
return $this->auth()->user();
} catch (Throwable $e) {
return null;
}
}
}