feat: fix SAML login error bug (#1228)

* Update LoginPage.js

* fix saml login error
This commit is contained in:
chao
2022-10-20 01:14:38 +08:00
committed by GitHub
parent fad209a7a3
commit dffa68cbce

View File

@ -156,8 +156,8 @@ class LoginPage extends React.Component {
values["type"] = "saml"; values["type"] = "saml";
} }
if (this.state.owner !== null && this.state.owner !== undefined) { if (this.state.application.organization !== null && this.state.application.organization !== undefined) {
values["organization"] = this.state.owner; values["organization"] = this.state.application.organization;
} }
} }
postCodeLoginAction(res) { postCodeLoginAction(res) {