Skip to content

Kirby 4.4.1

user.login:after

/site/config/config.php
return [
    'hooks' => [
        'user.login:after' => function (Kirby\Cms\User $user, Kirby\Session\Session $session) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$user Kirby\Cms\User
$session Kirby\Session\Session