mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -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(() => {
|
useEffect(() => {
|
||||||
// TODO: username password not correct error message
|
// TODO: username password not correct error message
|
||||||
if (error) {
|
if (error) {
|
||||||
setToast(t('error.username_password_mismatch'));
|
setToast(t('error.request', { ...error }));
|
||||||
}
|
}
|
||||||
}, [error, t, setToast]);
|
}, [error, t, setToast]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue