marvin-auth-kit
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -94,3 +94,3 @@ "use strict"; | ||
try { | ||
const url = `${this.config.url}/password/reset?token=${token}&password=${password}&confirm_password=${password}`; | ||
const url = `${this.config.url}/password/reset?token=${token}&password=${password}&password_confirm=${password}`; | ||
const response = await axios_1.default.post(url); | ||
@@ -97,0 +97,0 @@ return response; |
{ | ||
"name": "marvin-auth-kit", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Javscript authentication kit", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -110,3 +110,3 @@ import axios, { AxiosRequestConfig } from 'axios'; | ||
try { | ||
const url = `${this.config.url}/password/reset?token=${token}&password=${password}&confirm_password=${password}`; | ||
const url = `${this.config.url}/password/reset?token=${token}&password=${password}&password_confirm=${password}`; | ||
const response = await axios.post(url); | ||
@@ -113,0 +113,0 @@ |