register-----> insert something to db ----> login ----> read something from db to session
I think above is a common sequence?
but now if
Register.autologin = true
OnAuthenticated will fired before
how do you think?
The Register Event is fired after the User is authenticated so event is injected with a populated Session, if it was fired before it wouldn't be injected with a populated authenticated session.