Skip to content

Commit

Permalink
feat: Arash/password field error (#15388)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAfghahi authored Jun 25, 2021
1 parent d9b743d commit 7b5e468
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ const errorAlertMapping = {
CONNECTION_INVALID_PORT_ERROR: {
message: 'The port must be a whole number less than or equal to 65535.',
},
CONNECTION_ACCESS_DENIED_ERROR: {
message: 'Invalid account information',
description: 'Either the username or password is incorrect.',
},
CONNECTION_INVALID_PASSWORD_ERROR: {
message: 'Invalid account information',
description: 'Either the username or password is incorrect.',
},
};
interface DatabaseModalProps {
addDangerToast: (msg: string) => void;
Expand Down

0 comments on commit 7b5e468

Please sign in to comment.