biocore/american-gut-web — pull request #271 by ElDeveloper (2014-10-06 19:10:37+00:00)
Title: BUG/ENH: Fix template rendering logic

Some templates had an inconsistent logic going on, specifically the FAQ
website, would show the login text boxes even if you were logged in, giving
the impression that you had been logged out. A similar thing happened in the
home page i. e. every time you went to the home page you would be prompted to
enter your kit id and password, eventhough your credentials were still alive.
The new behaviour will redirect you to
/authed/portal/ if you have credentials and will show you the loggin site
otherwise.

Fixes #248