1
0
Fork 0
mirror of synced 2024-07-06 06:50:49 +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) => { resetPassword: async (password, code) => {
const response = await api.post(`/api/admin/auth/reset/update`, { const response = await api.post(`/api/admin/auth/reset/update`, {
password, password,
resetCode: code resetCode: code,
}) })
if (response.status !== 200) { if (response.status !== 200) {
throw "Unable to reset password" throw "Unable to reset password"