mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Show error "Invalid JWT token".
This commit is contained in:
@ -128,6 +128,10 @@ class App extends Component {
|
||||
if (res.status === "ok") {
|
||||
account = res.data;
|
||||
account.organization = res.data2;
|
||||
} else {
|
||||
if (res.msg === "Invalid JWT token") {
|
||||
Setting.showMessage("error", `Failed to sign in: ${res.msg}`);
|
||||
}
|
||||
}
|
||||
|
||||
this.setState({
|
||||
|
Reference in New Issue
Block a user