|
@@ -42,12 +42,13 @@ class LoginForm extends React.Component {
|
|
|
saml: true,
|
|
saml: true,
|
|
|
basic: true,
|
|
basic: true,
|
|
|
};
|
|
};
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
+ componentDidMount() {
|
|
|
const { hash } = window.location;
|
|
const { hash } = window.location;
|
|
|
if (hash === '#register') {
|
|
if (hash === '#register') {
|
|
|
this.setState({ isRegistering: true });
|
|
this.setState({ isRegistering: true });
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
onClickSwitchFormBtn() {
|
|
onClickSwitchFormBtn() {
|