[ckan-changes] [okfn/ckan] 6a7c9c: Fix user redirect after login

GitHub noreply at github.com
Wed Oct 17 15:22:29 UTC 2012


  Branch: refs/heads/2941-follower-support
  Home:   https://github.com/okfn/ckan
  Commit: 6a7c9ceb3f26e8734a08f71ac8fa1fceef959a3b
      https://github.com/okfn/ckan/commit/6a7c9ceb3f26e8734a08f71ac8fa1fceef959a3b
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-17 (Wed, 17 Oct 2012)

  Changed paths:
    M ckan/controllers/user.py

  Log Message:
  -----------
  Fix user redirect after login

Make it redirect to the /logged_in page and then redirect again to
/dashboard. This is what it was already doing with legacy templates, fix
to do the same with new templates as well. This fixes a user test that
was failing.


  Commit: c332dc16e701f1f85dca83e73685674dfe9023e7
      https://github.com/okfn/ckan/commit/c332dc16e701f1f85dca83e73685674dfe9023e7
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-17 (Wed, 17 Oct 2012)

  Changed paths:
    M ckan/controllers/user.py

  Log Message:
  -----------
  Put activity stream back on user profile in legacy templates

Put the user's activity stream back into the template context for legacy
templates as they still use it, the new templates do not. This fixes an
activity streams test that was failing.


Compare: https://github.com/okfn/ckan/compare/935a3559ba71...c332dc16e701


More information about the ckan-changes mailing list