diff --git a/templates/pg_hba.conf.erb b/templates/pg_hba.conf.erb index d897873..09ce67e 100644 --- a/templates/pg_hba.conf.erb +++ b/templates/pg_hba.conf.erb @@ -6,7 +6,7 @@ # Type database user address method options # "local" is for Unix domain socket connections only -local all all trust +local all all peer # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: @@ -16,4 +16,3 @@ host all all ::1/128 md5 local replication all md5 host replication all 127.0.0.1/32 md5 host replication all ::1/128 md5 -