mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed browser autocomplete related issues on pgAdmin authentication related pages. #7082
This commit is contained in:
@@ -122,13 +122,17 @@ class UserManagementCollection extends BaseUISchema {
|
||||
}
|
||||
}, {
|
||||
id: 'newPassword', label: gettext('New password'), cell: 'password',
|
||||
minWidth: 90, width: 90, deps: ['auth_source'],
|
||||
minWidth: 90, width: 90, deps: ['auth_source'], controlProps: {
|
||||
autoComplete: 'new-password',
|
||||
},
|
||||
editable: (state)=> {
|
||||
return obj.isEditable(state) && state.auth_source == AUTH_METHODS['INTERNAL'];
|
||||
}
|
||||
}, {
|
||||
id: 'confirmPassword', label: gettext('Confirm password'), cell: 'password',
|
||||
minWidth: 90, width: 90, deps: ['auth_source'],
|
||||
minWidth: 90, width: 90, deps: ['auth_source'], controlProps: {
|
||||
autoComplete: 'new-password',
|
||||
},
|
||||
editable: (state)=> {
|
||||
return obj.isEditable(state) && state.auth_source == AUTH_METHODS['INTERNAL'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user