mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
Improve login failure handling.
This commit is contained in:
@ -51,6 +51,10 @@ export function goToLink(link) {
|
||||
window.location.href = link;
|
||||
}
|
||||
|
||||
export function goToLinkSoft(ths, link) {
|
||||
ths.props.history.push(link);
|
||||
}
|
||||
|
||||
export function showMessage(type, text) {
|
||||
if (type === "") {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user