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" &&