Commits

Esteban Feldman  committed 181852c

On registration, if user is logged in, redirect him to LOGIN_redirect_url

  • Participants
  • Parent commits d240a8c

Comments (0)

Files changed (1)

File registration/views.py

     argument.
     
     """
-    # return home if a user is logged in
     if request.user.is_authenticated():
         return redirect(settings.LOGIN_REDIRECT_URL)
     backend = get_backend(backend)