File tree Expand file tree Collapse file tree
src/pages/admin/settings/components/security/drawers Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments