diff --git a/frontend/src/api/users.js b/frontend/src/api/users.js index edf85bc3a..7d66798ee 100644 --- a/frontend/src/api/users.js +++ b/frontend/src/api/users.js @@ -32,7 +32,7 @@ export const userAPI = { let response = await apiReq.post( authURLs.token, formData, - function() { return i18n.t('user.incorrect-username-or-password'); }, + null, function() { return i18n.t('user.user-successfully-logged-in'); } ); return response;