parent
30f3a51ef8
commit
0795ea318d
|
@ -105,9 +105,7 @@ function resendMail() {
|
|||
if (isEmail(user_email.value)) {
|
||||
toast("sending password reset mail...");
|
||||
const browserlocale = ((navigator.languages && navigator.languages[0]) || '').substr(0, 2);
|
||||
axios.post(`${config.baseurl}api/runners/forgot/?locale=${browserlocale}`, {
|
||||
"mail": user_email.value
|
||||
})
|
||||
axios.post(`${config.baseurl}api/runners/forgot?mail=${user_email.value}&locale=${browserlocale}`)
|
||||
.then(({ data }) => {
|
||||
console.log(data);
|
||||
toast("sent password reset mail to " + user_email.value + "!");
|
||||
|
|
Loading…
Reference in New Issue