Skip to content

Commit

Permalink
Add basic password reset "set password" page
Browse files Browse the repository at this point in the history
  • Loading branch information
bartwr committed Apr 2, 2024
1 parent 7b19b59 commit 466690e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/reset-password/[token]/[email].tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import axios from 'axios'
// import axios from 'axios'
import { ErrModal, SuccessModal } from '~/components/Modals'
import { authEndpoints } from '../endpoints'
// import { authEndpoints } from '../endpoints'

export const DefaultResetPassword = () => {
const [resetSuccess, setResestSuccess] = React.useState()
Expand All @@ -16,7 +16,7 @@ export const DefaultResetPassword = () => {
setLoading(true)
const response = await axios({
method: 'POST',
url: authEndpoints.recover,
url: '',//authEndpoints.recover,
data: {
email,
},
Expand Down

0 comments on commit 466690e

Please sign in to comment.