model.auth.afterImpersonate

Triggered in October\Rain\Auth\Manager.

Called after the model is booted

Example usage:

$model->bindEvent('model.auth.afterImpersonate', function (\October\Rain\Database\Model|false $oldUser) use (\October\Rain\Database\Model $model) {
    \Log::info($oldUser->full_name . ' has stopped impersonating ' . $model->full_name);
});