Kaynağa Gözat

set default for sslmode to verify-full in postgres datasource editor (#11615)

Sven Klemm 7 yıl önce
ebeveyn
işleme
4599329683

+ 1 - 1
public/app/plugins/datasource/postgres/module.ts

@@ -8,7 +8,7 @@ class PostgresConfigCtrl {
 
 
   /** @ngInject **/
   /** @ngInject **/
   constructor($scope) {
   constructor($scope) {
-    this.current.jsonData.sslmode = this.current.jsonData.sslmode || 'require';
+    this.current.jsonData.sslmode = this.current.jsonData.sslmode || 'verify-full';
   }
   }
 }
 }