feat: reset password working

This commit is contained in:
2025-01-16 23:32:03 +01:00
parent 6c60df2da0
commit 80bc3797ff
20 changed files with 932 additions and 416 deletions
+20 -2
View File
@@ -10,7 +10,15 @@ from web.views.components import (
list_wishlisted_products,
wishlist_button,
)
from web.views.users import login, logout, my_account, register, reset_password
from web.views.users import (
login,
logout,
my_account,
register,
reset_password,
reset_password_confirm,
reset_password_email_sent,
)
from web.views.web import (
add_cart_item,
add_to_wishlist,
@@ -40,7 +48,17 @@ i18n_resolvers = i18n_patterns(
path(_("login/"), login, name="login"),
path(_("logout/"), logout, name="logout"),
path(_("register/"), register, name="register"),
path(_("reset-password/"), reset_password, name="reset-password"),
path(_("reset-password/"), reset_password, name="reset_password"),
path(
_("reset/<uidb64>/<token>/"),
reset_password_confirm,
name="reset_password_confirm",
),
path(
_("reset-password/email-sent/"),
reset_password_email_sent,
name="reset_password_email_sent",
),
path(_("my-account/"), my_account, name="my_account"),
)