From 989bd2e92d6e046dd7401915dc90ba36a1b240e5 Mon Sep 17 00:00:00 2001 From: Arash Date: Fri, 25 Jun 2021 12:24:52 -0400 Subject: [PATCH] new errors --- .../src/views/CRUD/data/database/DatabaseModal/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx index c23a82fd7ffe7..53d4e25a2521e 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -93,7 +93,12 @@ const errorAlertMapping = { message: 'The port must be a whole number less than or equal to 65535.', }, CONNECTION_ACCESS_DENIED_ERROR: { - message: 'Either the username or password is incorrect.', + 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 {