From 4e71cf8fc79db58a4c6502038ff24acc296bb667 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Fri, 19 Feb 2021 10:41:44 -0800 Subject: [PATCH] crypt option has been deprectated --- postgresql/edit_host.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/postgresql/edit_host.cgi b/postgresql/edit_host.cgi index 39223189c..e0158ae08 100755 --- a/postgresql/edit_host.cgi +++ b/postgresql/edit_host.cgi @@ -84,7 +84,9 @@ if ($v >= 7.3) { } # Authentication type -foreach $a ('password', 'crypt', ($v >= 7.2 ? ( 'md5' ) : ( )), +foreach $a ('password', + ($v < 8.4 ? ( 'crypt' ) : ( )), + ($v >= 7.2 ? ( 'md5' ) : ( )), 'trust', 'reject', 'ident', 'krb4', 'krb5', ($v >= 7.3 ? ( 'pam' ) : ( )), ($v >= 9.0 ? ( 'peer' ) : ( )) ) {