add password toggle icon for all password inputs & use share folder checkbox for remember password in login page.
This commit is contained in:
@@ -154,6 +154,11 @@ function AcceptOrganizationInviteContent() {
|
||||
}
|
||||
};
|
||||
|
||||
const passwordToggleLabels = {
|
||||
show: t('showPassword'),
|
||||
hide: t('hidePassword'),
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="min-h-screen app-web-bg flex flex-col justify-center py-12 sm:px-6 lg:px-8">
|
||||
<div className="sm:mx-auto sm:w-full sm:max-w-md">
|
||||
@@ -226,6 +231,7 @@ function AcceptOrganizationInviteContent() {
|
||||
placeholder={t('passwordPlaceholder')}
|
||||
error={errors.password?.message}
|
||||
icon={<Lock className="h-5 w-5 icon-flat" />}
|
||||
passwordToggleLabels={passwordToggleLabels}
|
||||
/>
|
||||
<Input
|
||||
label={t('confirmPassword')}
|
||||
@@ -234,6 +240,7 @@ function AcceptOrganizationInviteContent() {
|
||||
placeholder={t('passwordPlaceholder')}
|
||||
error={errors.confirmPassword?.message}
|
||||
icon={<Lock className="h-5 w-5 icon-flat" />}
|
||||
passwordToggleLabels={passwordToggleLabels}
|
||||
/>
|
||||
<Button type="button" variant="primary" onClick={() => void handleNext()} fullWidth>
|
||||
{tCommon('continue')}
|
||||
|
||||
Reference in New Issue
Block a user