This commit is contained in:
Keviin Åberg Kultalahti 2021-05-21 13:43:27 +02:00
parent 9994c61f8f
commit d51e1949fa
1 changed files with 1 additions and 1 deletions

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"