Commit 53bbb6f6 authored by Robert's avatar Robert

Renamed password settings url to "account_change_password", refs #523

parent 0994f6f5
Pipeline #1223 failed with stage
in 54 seconds
......@@ -78,7 +78,7 @@ class AuthenticatedSettings(AuthenticatedMixin, TestCase):
def test_other_settings(self):
image_settings_url = reverse('image-settings')
email_settings_url = reverse('email-settings')
password_settings_url = reverse('password-settings')
password_settings_url = reverse('account_change_password')
r = self.client.get(reverse('settings'))
self.assertContains(r, 'href="{}'.format(image_settings_url))
......
......@@ -41,7 +41,7 @@ urlpatterns = [
url(
r'^stadt/settings/password/$',
views.UpdatePassword.as_view(),
name='password-settings'),
name='account_change_password'),
url(
r'^stadt/password/reset/key/(?P<uidb36>[0-9A-Za-z]+)-(?P<key>.+)/$',
......
......@@ -27,7 +27,7 @@
</a>
</li>
<li>
<a href="{% url 'password-settings' %}?group={{ group.slug }}"
<a href="{% url 'account_change_password' %}?group={{ group.slug }}"
class="nav-menu-item {% if chapter == 'gestalt-password' %}nav-menu-item-active{% endif %}">
<i class="sg sg-fw sg-password"></i>
<span class="nav-menu-item-label">Kennwort</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment