Commits

offline committed c218f21

url name bugfix

  • Participants
  • Parent commits 9d127ff

Comments (0)

Files changed (1)

openauth/views.py

             auth.login(request, user)
 
         confirmation.delete()
-        return message(request, _('Your account successfully activated'), 'success', 'show-user', args=[user.id])
+        return message(request, _('Your account successfully activated'), 'success', 'openauth-show-user', args=[user.id])
     elif confiramtion_type == openauth.settings.PASSWORD_RESET_CONFIRMATION_TYPE:
         confirmation.user.backend = 'django.contrib.auth.backends.ModelBackend'
         auth.login(request, confirmation.user)      
         if form.is_valid():
             form.save()
             request.flash['notice'] = "User details successfully changed"
-            return HttpResponseRedirect(reverse('show-user', args=[user.id]))
+            return HttpResponseRedirect(reverse('openauth-show-user', args=[user.id]))
     else:
         initial = {'username': user.username, 
                     'country': user.profile.country,