Skip to content

Commit 77b6894

Browse files
Merge branch 'dev' into 'main'
fix: bugs See merge request locker/web-selfhosted!140
2 parents 8a3f5f1 + 46609cd commit 77b6894

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

src/pages/admin/settings/components/security/drawers/UpdateEncryptionSettings.jsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -165,21 +165,6 @@ function UpdateEncryptionSettingsDrawer(props) {
165165
labelAlign={'left'}
166166
disabled={userInfo.is_require_passwordless || callingAPI}
167167
>
168-
<Form.Item
169-
name={'password'}
170-
label={
171-
<p className='font-semibold'>{commonT('auth_pages.password')}</p>
172-
}
173-
rules={[
174-
global.rules.REQUIRED(commonT('auth_pages.password')),
175-
]}
176-
>
177-
<Input.Password
178-
autoFocus={true}
179-
size="large"
180-
placeholder={commonT('placeholder.enter')}
181-
/>
182-
</Form.Item>
183168
<Form.Item
184169
name={'kdf'}
185170
label={
@@ -271,6 +256,21 @@ function UpdateEncryptionSettingsDrawer(props) {
271256
</Form.Item>
272257
</>
273258
}
259+
<Form.Item
260+
name={'password'}
261+
label={
262+
<p className='font-semibold'>{commonT('auth_pages.password')}</p>
263+
}
264+
rules={[
265+
global.rules.REQUIRED(commonT('auth_pages.password')),
266+
]}
267+
>
268+
<Input.Password
269+
autoFocus={true}
270+
size="large"
271+
placeholder={commonT('placeholder.enter')}
272+
/>
273+
</Form.Item>
274274
</Form>
275275
</Drawer>
276276
<ConfirmEncryptionUpdateModal

0 commit comments

Comments
 (0)