You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, how can I use the on afterLogin method to redirect to a page of my choose?
Like that:
'on afterLogin' => function($event) {
\webvimark\modules\UserManagement\models\UserVisitLog::newVisitor($event->identity->id);
CODE HERE TO REDIRECT TO admin/index FOR EXAMPLE
}
Can't figure it out.
Thanks for any help!
The text was updated successfully, but these errors were encountered:
Hey, how can I use the on afterLogin method to redirect to a page of my choose?
Like that:
Can't figure it out.
Thanks for any help!
The text was updated successfully, but these errors were encountered: