torchbox/wagtail — pull request #38 by peterarenot (2014-02-14 08:04:36+00:00)
Title: Redirect from login view if user already logged in

This code is to add the feature requested in #25 (Login screen should redirect somewhere appropriate if visited while already logged in).

If the user is already logged in they will be redirected to the `LOGIN_REDIRECT_URL` defined in the settings file.