Ticket #1318 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

'Register user' doesn't log you in

Reported by: dread Owned by: dread
Priority: blocker Milestone: ckan-sprint-2011-10-28
Component: ckan Keywords:
Cc: shevski Repository: ckan
Theme: none

Description

When you register a user, it doesn't seem to be logged in properly straight away. Top-right it invites you to "log in" and "register". Also the "create package" menu option doesn't appear. Going to /user/me sends you to login page. If you then login, then all these things are corrected.

Change History

comment:1 Changed 3 years ago by dread

  • Cc shevski added

comment:2 Changed 3 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Problem tracked down to Adria's cset:4f1ca1eb2630 on branch feature-1229-db-out-of-controllers that missed out repoze.who in the redirects after login, when refactoring the user registration. This code went into default on 2011-07-28 for release 1.4.3.

Fixed in cset:93731cd3b22e for release 1.4.3 and doesn't affect previous releases. Tests for user registration added too.

Note: See TracTickets for help on using tickets.