chore: remove remember me
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user