It would be wise if autologin triggered an event that other JS based tools can listen to. This could help avoid tools from informing the user that he is not logged in, even though this just happened automagically and the personal tools reflect that the user is logged in.
|Open||None||T122654 Flow shows "you are not logged in" even though I'm logged in|
|Open||None||T122655 CentralAuth Autologin should emit an event after logging in the user, for other components to listen to|
It looks like there are two success cases:
- HTML is returned to replace the #p-personal list with. centralauth-p-personal-reset is fired in this case (this is useful in its own right, so e.g. user scripts that customize personal tools can act).
- They are successfully logged in, but it just shows a notification.
I think we need a hook that is fired in both success cases.