mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
Set autoSignin to true by default.
This commit is contained in:
parent
ca9fcf7edc
commit
5afe3ed650
@ -232,7 +232,8 @@ class LoginPage extends React.Component {
|
||||
initialValues={{
|
||||
organization: application.organization,
|
||||
application: application.name,
|
||||
remember: true
|
||||
remember: true,
|
||||
autoSignin: true,
|
||||
}}
|
||||
onFinish={(values) => {this.onFinish(values)}}
|
||||
style={{width: "250px"}}
|
||||
@ -284,7 +285,7 @@ class LoginPage extends React.Component {
|
||||
<Form.Item>
|
||||
<Form.Item name="autoSignin" valuePropName="checked" noStyle>
|
||||
<Checkbox style={{float: "left"}} disabled={!application.enablePassword}>
|
||||
{i18next.t("login:Auto login")}
|
||||
{i18next.t("login:Auto sign in")}
|
||||
</Checkbox>
|
||||
</Form.Item>
|
||||
<a style={{float: "right"}} onClick={() => {
|
||||
|
@ -130,7 +130,7 @@
|
||||
"username, Email or phone": "username, Email or phone",
|
||||
"Please input your password!": "Please input your password!",
|
||||
"Password": "Password",
|
||||
"Auto login": "Auto login",
|
||||
"Auto sign in": "Auto sign in",
|
||||
"Forgot password?": "Forgot password?",
|
||||
"Sign In": "Sign In",
|
||||
"No account yet?": "No account yet?",
|
||||
|
@ -136,7 +136,7 @@
|
||||
"username, Email or phone": "username, Email or phone",
|
||||
"Please input your password!": "Please input your password!",
|
||||
"Password": "Password",
|
||||
"Auto login": "Auto login",
|
||||
"Auto sign in": "Auto sign in",
|
||||
"Forgot password?": "Forgot password?",
|
||||
"Sign In": "Sign In",
|
||||
"No account yet?": "No account yet?",
|
||||
|
@ -130,7 +130,7 @@
|
||||
"username, Email or phone": "username, Email or phone",
|
||||
"Please input your password!": "Please input your password!",
|
||||
"Password": "Password",
|
||||
"Auto login": "Auto login",
|
||||
"Auto sign in": "Auto sign in",
|
||||
"Forgot password?": "Forgot password?",
|
||||
"Sign In": "Sign In",
|
||||
"No account yet?": "No account yet?",
|
||||
|
@ -130,7 +130,7 @@
|
||||
"username, Email or phone": "username, Email or phone",
|
||||
"Please input your password!": "Please input your password!",
|
||||
"Password": "Password",
|
||||
"Auto login": "Auto login",
|
||||
"Auto sign in": "Auto sign in",
|
||||
"Forgot password?": "Forgot password?",
|
||||
"Sign In": "Sign In",
|
||||
"No account yet?": "No account yet?",
|
||||
|
@ -130,7 +130,7 @@
|
||||
"username, Email or phone": "username, Email or phone",
|
||||
"Please input your password!": "Please input your password!",
|
||||
"Password": "Password",
|
||||
"Auto login": "Auto login",
|
||||
"Auto sign in": "Auto sign in",
|
||||
"Forgot password?": "Forgot password?",
|
||||
"Sign In": "Sign In",
|
||||
"No account yet?": "No account yet?",
|
||||
|
@ -130,7 +130,7 @@
|
||||
"username, Email or phone": "username, Email or phone",
|
||||
"Please input your password!": "Please input your password!",
|
||||
"Password": "Password",
|
||||
"Auto login": "Auto login",
|
||||
"Auto sign in": "Auto sign in",
|
||||
"Forgot password?": "Forgot password?",
|
||||
"Sign In": "Sign In",
|
||||
"No account yet?": "No account yet?",
|
||||
|
@ -130,7 +130,7 @@
|
||||
"username, Email or phone": "用户名、Email或手机号",
|
||||
"Please input your password!": "请输入您的密码!",
|
||||
"Password": "密码",
|
||||
"Auto login": "下次自动登录",
|
||||
"Auto sign in": "下次自动登录",
|
||||
"Forgot password?": "忘记密码?",
|
||||
"Sign In": "登录",
|
||||
"No account yet?": "没有账号?",
|
||||
|
Loading…
x
Reference in New Issue
Block a user