Incorrect error message in wishlist

Create issue
Issue #1123 resolved
Alex Robbins created an issue

If a user doesn't have a contact they can't use the wishlist app. However, when they try to use it, the error page says "You must login to use the wishlist." However, the problem is that they don't have a contact, not that they aren't logged in.

To fix this, we could add a check to the login_required.html page in satchmo_ext/wishlist/templates/wishlist/. Something like this would work:


{% if request.user.is_authenticated %} You need a contact. Make one here: link {% else %} You need to login. Login here: link {% endif %}


Comments (1)

  1. Log in to comment