User information


#1

After executing:

$app->auth = $app->add(new \atk4\login\Auth())->setModel(new User($db));

how do I get access to the current user information?


#2

$app->auth->user is the model of a current user.


#3

also here: https://github.com/atk4/login#dashboard