There's a bug in the is_session_alive function. The value of self.username does not always match the username displayed on the main page, even after a successful login.
It appears that the username on the main page is the name set in the user's profile.
There's a bug in the is_session_alive function. The value of self.username does not always match the username displayed on the main page, even after a successful login. It appears that the username on the main page is the name set in the user's profile.