You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/06/24 19:28:55 UTC
[superset] 01/01: filter out password supply for validation
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/filter-pass
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 8629052c8ca21e1ab76314bb74a9f47d74713bf1
Author: hughhhh <hu...@gmail.com>
AuthorDate: Thu Jun 24 12:28:00 2021 -0700
filter out password supply for validation
---
superset-frontend/src/views/CRUD/hooks.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/views/CRUD/hooks.ts b/superset-frontend/src/views/CRUD/hooks.ts
index bd8e19c..4aab1b6 100644
--- a/superset-frontend/src/views/CRUD/hooks.ts
+++ b/superset-frontend/src/views/CRUD/hooks.ts
@@ -654,7 +654,7 @@ export function useDatabaseValidation() {
.filter(
(error: { error_type: string }) =>
error.error_type !==
- 'CONNECTION_MISSING_PARAMETERS_ERROR' || onCreate,
+ 'CONNECTION_MISSING_PARAMETERS_ERROR' || 'CONNECTION_ACCESS_DENIED_ERROR' || onCreate,
)
.reduce(
(