Improve login messaging
This commit is contained in:
parent
d0496caeb1
commit
88c12a72a9
2 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ export function logIn(username, password) {
|
|||
if (error.response.data.error === 'mfa_required') {
|
||||
throw error;
|
||||
} else {
|
||||
dispatch(snackbar.error('Invalid username or password.'));
|
||||
dispatch(snackbar.error('Wrong username or password'));
|
||||
}
|
||||
throw error;
|
||||
});
|
||||
|
|
|
@ -126,7 +126,7 @@ export const getAlerts = createSelector([getAlertsBase], (base) => {
|
|||
key: item.get('key'),
|
||||
className: `snackbar snackbar--${item.get('severity', 'info')}`,
|
||||
activeClassName: 'snackbar--active',
|
||||
dismissAfter: 5000,
|
||||
dismissAfter: 6000,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue