feat: terms of use auto selected (#1485)

This commit is contained in:
Chell
2023-01-19 13:31:21 +01:00
committed by GitHub
parent d10b1347a8
commit 457e6208ad
4 changed files with 13 additions and 3 deletions

View File

@ -471,7 +471,7 @@ class LoginPage extends React.Component {
this.setState({
isTermsOfUseVisible: true,
});
}, true) : (
}, true, {}, Setting.isDefaultTrue(application)) : (
<Form.Item name="autoSignin" valuePropName="checked" noStyle>
<Checkbox style={{float: "left"}} disabled={!application.enablePassword}>
{i18next.t("login:Auto sign in")}