mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Disabled auto-fill on password fields. #2410
This commit is contained in:
@@ -97,7 +97,7 @@ class CloudDBCredSchema extends BaseUISchema {
|
||||
mode: ['create'], noEmpty: true,
|
||||
}, {
|
||||
id: 'secret_access_key', label: gettext('AWS secret access key'), type: 'password',
|
||||
mode: ['create'], noEmpty: true,
|
||||
mode: ['create'], noEmpty: true, controlProps: { autoComplete: 'new-password' },
|
||||
}, {
|
||||
id: 'session_token', label: gettext('AWS session token'), type: 'multiline',
|
||||
mode: ['create'], noEmpty: false,
|
||||
@@ -165,7 +165,7 @@ class DatabaseSchema extends BaseUISchema {
|
||||
mode: ['create'], noEmpty: true,
|
||||
}, {
|
||||
id: 'db_password', label: gettext('Password'), type: 'password',
|
||||
mode: ['create'], noEmpty: true,
|
||||
mode: ['create'], noEmpty: true, controlProps: { autoComplete: 'new-password' },
|
||||
helpMessage: gettext('At least 8 printable ASCII characters. Cannot contain any of the following: / (slash), \'(single quote), "(double quote) and @ (at sign).')
|
||||
}, {
|
||||
id: 'db_confirm_password', label: gettext('Confirm password'),
|
||||
|
||||
@@ -491,7 +491,7 @@ class AzureDatabaseSchema extends BaseUISchema {
|
||||
noEmpty: true,
|
||||
helpMessage: gettext(
|
||||
'The password must be 8-128 characters long and must contain characters from three of the following categories - English uppercase letters, English lowercase letters, numbers (0-9), and non-alphanumeric characters (!, $, #, %, etc.), and cannot contain all or part of the login name'
|
||||
),
|
||||
), controlProps: { autoComplete: 'new-password' }
|
||||
},
|
||||
{
|
||||
id: 'db_confirm_password',
|
||||
|
||||
@@ -421,7 +421,7 @@ class BigAnimalDatabaseSchema extends BaseUISchema {
|
||||
},
|
||||
},{
|
||||
id: 'password', label: gettext('Database password'), type: 'password',
|
||||
mode: ['create'], noEmpty: true,
|
||||
mode: ['create'], noEmpty: true, controlProps: { autoComplete: 'new-password' }
|
||||
},{
|
||||
id: 'confirm_password', label: gettext('Confirm password'), type: 'password',
|
||||
mode: ['create'], noEmpty: true,
|
||||
|
||||
@@ -391,7 +391,7 @@ class GoogleDatabaseSchema extends BaseUISchema {
|
||||
noEmpty: true,
|
||||
helpMessage: gettext(
|
||||
'Set a password for the default admin user "postgres".'
|
||||
),
|
||||
), controlProps: { autoComplete: 'new-password' }
|
||||
},
|
||||
{
|
||||
id: 'db_confirm_password',
|
||||
|
||||
Reference in New Issue
Block a user