From 3764ae9919eefc1e1d8321b320a324e4ae0b9ba7 Mon Sep 17 00:00:00 2001 From: Robert Helewka Date: Tue, 12 May 2026 16:16:12 -0400 Subject: [PATCH] refactor(templates): migrate authentication URLs to django-allauth Update all authentication-related template URLs from Django's default auth URL names ('login', 'password_reset') to django-allauth's URL names ('account_login', 'account_reset_password') for consistency with the authentication backend migration. --- mnemosyne/mnemosyne/templates/mnemosyne/landing.html | 2 +- mnemosyne/mnemosyne/templates/registration/logged_out.html | 2 +- mnemosyne/mnemosyne/templates/registration/login.html | 4 ++-- .../templates/registration/password_reset_complete.html | 2 +- .../templates/registration/password_reset_confirm.html | 2 +- .../mnemosyne/templates/registration/password_reset_done.html | 2 +- .../mnemosyne/templates/registration/password_reset_form.html | 2 +- mnemosyne/themis/templates/themis/includes/navbar.html | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mnemosyne/mnemosyne/templates/mnemosyne/landing.html b/mnemosyne/mnemosyne/templates/mnemosyne/landing.html index 81e3030..529d7d7 100644 --- a/mnemosyne/mnemosyne/templates/mnemosyne/landing.html +++ b/mnemosyne/mnemosyne/templates/mnemosyne/landing.html @@ -19,7 +19,7 @@ Your personal knowledge library — organise, embed, and retrieve content across books, music, film, art, and journals.

- Log In + Log In diff --git a/mnemosyne/mnemosyne/templates/registration/logged_out.html b/mnemosyne/mnemosyne/templates/registration/logged_out.html index 7b72519..f1ea188 100644 --- a/mnemosyne/mnemosyne/templates/registration/logged_out.html +++ b/mnemosyne/mnemosyne/templates/registration/logged_out.html @@ -8,7 +8,7 @@

You have been logged out

Thanks for using {{ themis_app_name }}.

- Log In Again + Log In Again
diff --git a/mnemosyne/mnemosyne/templates/registration/login.html b/mnemosyne/mnemosyne/templates/registration/login.html index 2550753..9df1c99 100644 --- a/mnemosyne/mnemosyne/templates/registration/login.html +++ b/mnemosyne/mnemosyne/templates/registration/login.html @@ -19,7 +19,7 @@ {% endif %} -
+ {% csrf_token %}
@@ -40,7 +40,7 @@ class="input input-bordered w-full{% if form.errors %} input-error{% endif %}" required> diff --git a/mnemosyne/mnemosyne/templates/registration/password_reset_complete.html b/mnemosyne/mnemosyne/templates/registration/password_reset_complete.html index f5d6f08..8fa933c 100644 --- a/mnemosyne/mnemosyne/templates/registration/password_reset_complete.html +++ b/mnemosyne/mnemosyne/templates/registration/password_reset_complete.html @@ -15,7 +15,7 @@

Your password has been set. You can now log in with your new password.

- Log In + Log In
diff --git a/mnemosyne/mnemosyne/templates/registration/password_reset_confirm.html b/mnemosyne/mnemosyne/templates/registration/password_reset_confirm.html index a44b6cf..3204c95 100644 --- a/mnemosyne/mnemosyne/templates/registration/password_reset_confirm.html +++ b/mnemosyne/mnemosyne/templates/registration/password_reset_confirm.html @@ -70,7 +70,7 @@ This password reset link is invalid or has expired. Please request a new one.

- Request New Link + Request New Link {% endif %} diff --git a/mnemosyne/mnemosyne/templates/registration/password_reset_done.html b/mnemosyne/mnemosyne/templates/registration/password_reset_done.html index b5f3478..d673d1e 100644 --- a/mnemosyne/mnemosyne/templates/registration/password_reset_done.html +++ b/mnemosyne/mnemosyne/templates/registration/password_reset_done.html @@ -16,7 +16,7 @@ If an account exists with that email address, we've sent password reset instructions. Check your inbox (and spam folder).

- Back to Log In + Back to Log In diff --git a/mnemosyne/mnemosyne/templates/registration/password_reset_form.html b/mnemosyne/mnemosyne/templates/registration/password_reset_form.html index 414b184..237720e 100644 --- a/mnemosyne/mnemosyne/templates/registration/password_reset_form.html +++ b/mnemosyne/mnemosyne/templates/registration/password_reset_form.html @@ -48,7 +48,7 @@
OR
diff --git a/mnemosyne/themis/templates/themis/includes/navbar.html b/mnemosyne/themis/templates/themis/includes/navbar.html index 4ae34dd..c3d45e4 100644 --- a/mnemosyne/themis/templates/themis/includes/navbar.html +++ b/mnemosyne/themis/templates/themis/includes/navbar.html @@ -55,7 +55,7 @@ {% include "themis/includes/notification_bell.html" %} {% include "themis/includes/user_menu.html" %} {% else %} - Log in + Log in {% endif %}