mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(bug): display request message for now (#508)
display request message for now
This commit is contained in:
parent
e969e15e3e
commit
55a37d8baf
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ const UsernameSignin: FC = () => {
|
|||
useEffect(() => {
|
||||
// TODO: username password not correct error message
|
||||
if (error) {
|
||||
setToast(t('error.username_password_mismatch'));
|
||||
setToast(t('error.request', { ...error }));
|
||||
}
|
||||
}, [error, t, setToast]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue