fix: login security issue (#1198)

* fix

* fix bug

* changes

* Revert "changes"

This reverts commit 2b2084c7bd.

* should close the toast if its error also

* no internal errors + sso

* change the text to Incorrect login credentials, please try again
This commit is contained in:
Thareek Anvar M
2023-03-01 20:03:43 +05:30
committed by GitHub
parent 6dab43523d
commit e83ea7fd76
2 changed files with 5 additions and 5 deletions

View File

@ -94,7 +94,7 @@ const initialToastHelper = () => {
return showToast({ type: "success", content, duration });
};
const error = (content: string, duration = -1) => {
const error = (content: string, duration = 5000) => {
return showToast({ type: "error", content, duration });
};