mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-15 11:03:51 +08:00
Support from link.
This commit is contained in:
@ -124,7 +124,9 @@ class LoginPage extends React.Component {
|
||||
const responseType = this.state.type;
|
||||
if (responseType === "login") {
|
||||
Util.showMessage("success", `Logged in successfully`);
|
||||
Setting.goToLink("/");
|
||||
|
||||
const link = Setting.getFromLink();
|
||||
Setting.goToLink(link);
|
||||
} else if (responseType === "code") {
|
||||
const code = res.data;
|
||||
|
||||
|
Reference in New Issue
Block a user