Update PasswordResetConfirm.js
This commit is contained in:
parent
ac3a8e61c3
commit
d86f57aa75
@ -33,7 +33,7 @@ const PasswordResetConfirm = () => {
|
|||||||
if (success) {
|
if (success) {
|
||||||
let password = res.data.data;
|
let password = res.data.data;
|
||||||
await copy(password);
|
await copy(password);
|
||||||
showSuccess(`密码已重置并已复制到剪贴板:${password}`);
|
showSuccess(`Password has been reset and copied to clipboard:${password}`);
|
||||||
} else {
|
} else {
|
||||||
showError(message);
|
showError(message);
|
||||||
}
|
}
|
||||||
@ -44,7 +44,7 @@ const PasswordResetConfirm = () => {
|
|||||||
<Grid textAlign='center' style={{ marginTop: '48px' }}>
|
<Grid textAlign='center' style={{ marginTop: '48px' }}>
|
||||||
<Grid.Column style={{ maxWidth: 450 }}>
|
<Grid.Column style={{ maxWidth: 450 }}>
|
||||||
<Header as='h2' color='' textAlign='center'>
|
<Header as='h2' color='' textAlign='center'>
|
||||||
<Image src='/logo.png' /> 密码重置确认
|
<Image src='/logo.png' /> Password Reset Confirmation
|
||||||
</Header>
|
</Header>
|
||||||
<Form size='large'>
|
<Form size='large'>
|
||||||
<Segment>
|
<Segment>
|
||||||
@ -52,7 +52,7 @@ const PasswordResetConfirm = () => {
|
|||||||
fluid
|
fluid
|
||||||
icon='mail'
|
icon='mail'
|
||||||
iconPosition='left'
|
iconPosition='left'
|
||||||
placeholder='邮箱地址'
|
placeholder='Email address'
|
||||||
name='email'
|
name='email'
|
||||||
value={email}
|
value={email}
|
||||||
readOnly
|
readOnly
|
||||||
@ -64,7 +64,7 @@ const PasswordResetConfirm = () => {
|
|||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
>
|
>
|
||||||
提交
|
Submit
|
||||||
</Button>
|
</Button>
|
||||||
</Segment>
|
</Segment>
|
||||||
</Form>
|
</Form>
|
||||||
|
Loading…
Reference in New Issue
Block a user