1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00
This commit is contained in:
Keviin Åberg Kultalahti 2021-05-21 13:43:27 +02:00
parent 31968556ad
commit 683ae48caa

View file

@ -53,7 +53,7 @@ export function createAuthStore() {
resetPassword: async (password, code) => {
const response = await api.post(`/api/admin/auth/reset/update`, {
password,
resetCode: code
resetCode: code,
})
if (response.status !== 200) {
throw "Unable to reset password"