$auth->setUser()
Sets a user object as the current user in the cache
$auth->setUser(Kirby\Cms\User $user): void
Parameters
| Name | Type | Default |
|---|---|---|
| $user * | Kirby\Cms\User |
– |
Sets a user object as the current user in the cache
$auth->setUser(Kirby\Cms\User $user): void
| Name | Type | Default |
|---|---|---|
| $user * | Kirby\Cms\User |
– |