Update PasswordResetConfirm.js

This commit is contained in:
analogpvt 2023-05-20 11:59:33 +05:30 committed by GitHub
parent ac3a8e61c3
commit d86f57aa75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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