Просмотр исходного кода

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

Sven Klemm 7 лет назад
Родитель
Сommit
4599329683
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/plugins/datasource/postgres/module.ts

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

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