Skip to content

Commit

Permalink
Merge pull request #3835 from alexbrault/3834-add-root-path-to-new-us…
Browse files Browse the repository at this point in the history
…er-redirect

[#3834] Keep root path in new user url
  • Loading branch information
wardi committed Sep 26, 2017
2 parents d14d32d + 8556860 commit 26dc690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/user.py
Expand Up @@ -258,7 +258,7 @@ def _save_new(self, context):
if not c.user:
# log the user in programatically
set_repoze_user(data_dict['name'])
h.redirect_to(controller='user', action='me', __ckan_no_root=True)
h.redirect_to(controller='user', action='me')
else:
# #1799 User has managed to register whilst logged in - warn user
# they are not re-logged in as new user.
Expand Down

0 comments on commit 26dc690

Please sign in to comment.