fix
This commit is contained in:
parent
2642b246a1
commit
e959e54f53
@ -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),
|
||||
]
|
||||
|
@ -498,7 +498,7 @@ class Main extends Component {
|
||||
}
|
||||
{this.state.page == "#forgotten_password" &&
|
||||
<div>
|
||||
<form id="form" action="/api/login" class="container" onSubmit={(e) => this.onSubmit(e)}>
|
||||
<form id="form" action="/api/forgotten_password" class="container" onSubmit={(e) => this.onSubmit(e)}>
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label">Přihlašovací email:</label>
|
||||
<input name="email" class="form-control" type="email" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user