ircanywhere/ircanywhere — pull request #77 by rodms10 (2014-05-27 21:53:05+00:00)
Title: Fixes #66 login page flashes when logged in

This was happening because `authed` was being initialized to false on socket connect. So before the `authenticate` call returned, the login page was rendered.

Fix was to remove the `authed` initialization from socked connect. To speed up showing login for new users, I added a check to see if the cookies are present.