After calling identity.logout the value of identity.username is still set. I verified that using the debug page.
Is this behaviour by design?
The Identity Component is session scoped. So I thougth this component is thrown away and recreated with an uninitialized username when identity.logout is called.
Could somebody explain?
Retrieving data ...