mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
Remove duplicate error message if bad credentials
Error is already nicely displayed in LoginForm
This commit is contained in:
parent
e222d0ca56
commit
f543afd938
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export const userAPI = {
|
||||||
let response = await apiReq.post(
|
let response = await apiReq.post(
|
||||||
authURLs.token,
|
authURLs.token,
|
||||||
formData,
|
formData,
|
||||||
function() { return i18n.t('user.incorrect-username-or-password'); },
|
null,
|
||||||
function() { return i18n.t('user.user-successfully-logged-in'); }
|
function() { return i18n.t('user.user-successfully-logged-in'); }
|
||||||
);
|
);
|
||||||
return response;
|
return response;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue