0
Fork 0
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:
simeng-li 2022-04-07 15:48:02 +08:00 committed by GitHub
parent e969e15e3e
commit 55a37d8baf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]);