feat: reset password working
This commit is contained in:
+20
-2
@@ -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"),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user