Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Display change password form only for users with set password
Mira Szewczyke3d662d19ada
diff --git a/templates/userprofile/details.html b/templates/userprofile/details.htmlindex 349f437214..39edb05ac8 100644--- a/templates/userprofile/details.html+++ b/templates/userprofile/details.html@@ -27,11 +27,13 @@{% trans "Recent Orders" context "User profile tab" %}</h3></a></li>+ {% if user.password %}<li class="nav-item"><a class="nav-link " data-toggle="tab" href="#password" role="tab"><h3>{% trans "Change password" context "User profile tab" %}</h3></a></li>+ {% endif %}<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#addresses" role="tab"><h3>{% trans "Addresses book" context "User profile tab" %}