Add EVENT_AFTER_LOGIN For Redirection Per User Group #11170
Answered
by
brandonkelly
chattervast
asked this question in
Ideas
-
On several sites I've needed to have a redirect based on the user group or run some service. After testing all of the available events, I found that the previously removed EVENT_AFTER_LOGIN was the best candidate. Is there some reason why this is no longer in the system and what the replacement for it is? |
Beta Was this translation helpful? Give feedback.
Answered by
brandonkelly
May 10, 2022
Replies: 1 comment
-
There is still an |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
brandonkelly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is still an
EVENT_AFTER_LOGIN
event. It lives onyii\web\User
, like it always has.