mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
feat: fix SAML login error bug (#1228)
* Update LoginPage.js * fix saml login error
This commit is contained in:
@ -156,8 +156,8 @@ class LoginPage extends React.Component {
|
||||
values["type"] = "saml";
|
||||
}
|
||||
|
||||
if (this.state.owner !== null && this.state.owner !== undefined) {
|
||||
values["organization"] = this.state.owner;
|
||||
if (this.state.application.organization !== null && this.state.application.organization !== undefined) {
|
||||
values["organization"] = this.state.application.organization;
|
||||
}
|
||||
}
|
||||
postCodeLoginAction(res) {
|
||||
|
Reference in New Issue
Block a user