Switched request login link api path to login (backend v13.0.0)
This commit is contained in:
parent
7051909bf9
commit
8139d63715
|
@ -90,7 +90,7 @@ function resendMail() {
|
|||
if (isEmail(user_email.value)) {
|
||||
toast("Login-Link wird angefordert...");
|
||||
const browserlocale = ((navigator.languages && navigator.languages[0]) || '').substr(0, 2);
|
||||
axios.post(`${config.baseurl}api/runners/forgot?mail=${user_email.value}&locale=${browserlocale}`)
|
||||
axios.post(`${config.baseurl}api/runners/login?mail=${user_email.value}&locale=${browserlocale}`)
|
||||
.then(({ data }) => {
|
||||
console.log(data);
|
||||
toast("Login-Link gesendet an " + user_email.value + "!");
|
||||
|
|
Loading…
Reference in New Issue