From e959e54f5319caa911335a41c2c01a6f9150eb4c Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Thu, 17 Oct 2024 08:46:05 +0200 Subject: [PATCH] fix --- alkator/urls.py | 3 ++- frontend/src/scripts/index.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/alkator/urls.py b/alkator/urls.py index 298041c..afb9835 100644 --- a/alkator/urls.py +++ b/alkator/urls.py @@ -25,7 +25,7 @@ from alkatorapi.views import ( login_status, change_racer, products, cart_add, cart, cart_delete, cart_decrease, cart_buy, select_delivery, - delivery, + delivery, forgotten_password, ) urlpatterns = [ @@ -50,4 +50,5 @@ urlpatterns = [ path('api/cart/buy', cart_buy), path('api/cart/select_delivery', select_delivery), path('api/cart/delivery', delivery), + path('api/forgotten_password', forgotten_password), ] diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index fb069b5..ce147fe 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -498,7 +498,7 @@ class Main extends Component { } {this.state.page == "#forgotten_password" &&
-
this.onSubmit(e)}> + this.onSubmit(e)}>