chore: remove remember me

This commit is contained in:
jialin
2026-06-12 16:02:22 +08:00
committed by jialin
parent 01f66085ab
commit 04e1e1e566
5 changed files with 12 additions and 71 deletions
+4 -10
View File
@@ -6,7 +6,7 @@ import {
} from '@ant-design/icons';
import { Input as CInput, HighlightCode, IconFont } from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Button, Checkbox, Divider, Form, FormInstance } from 'antd';
import { Button, Divider, Form, FormInstance } from 'antd';
import { createStyles } from 'antd-style';
const useStyles = createStyles(({ token, css }) => {
@@ -122,18 +122,12 @@ const LocalUserForm: React.FC<LocalUserFormProps> = (props) => {
/>
</Form.Item>
<div
className="flex-center flex-between"
className="flex-center"
style={{
marginBottom: 24
justifyContent: 'flex-end',
marginBottom: 20
}}
>
<Form.Item noStyle name="autoLogin" valuePropName="checked">
<Checkbox style={{ marginLeft: 5 }}>
<span style={{ color: 'var(--ant-color-text-secondary)' }}>
{intl.formatMessage({ id: 'common.login.rember' })}
</span>
</Checkbox>
</Form.Item>
<Button
type="link"
size="small"
+1 -1
View File
@@ -243,7 +243,7 @@ const LoginForm = () => {
{renderWelCome()}
<div className="spin">
<Spin
tip={intl.formatMessage({ id: 'common.login.auth' })}
description={intl.formatMessage({ id: 'common.login.auth' })}
size="middle"
>
<div style={{ width: 300 }}></div>