mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
feat: update signinUrl storage to include path and query parameters in forced reset password flow (#3583)
This commit is contained in:
parent
81b336b37a
commit
63b8e857bc
@ -475,7 +475,7 @@ class LoginPage extends React.Component {
|
||||
return;
|
||||
}
|
||||
if (res.data2.needUpdatePassword) {
|
||||
sessionStorage.setItem("signinUrl", window.location.href);
|
||||
sessionStorage.setItem("signinUrl", window.location.pathname + window.location.search);
|
||||
Setting.goToLink(this, `/forget/${this.state.applicationName}`);
|
||||
}
|
||||
if (res.data2.method === "POST") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user