freebsd-ports/net/phpldapadmin/files/patch-config__config.php.example
Matthew Seaman f8906302f6 Modernization: switch to USES=php:web
Update files/patch-lib__functions.php to work around the lack of the
deprecated mcrypt functions in php >= 7.1.

Regenerate patches with 'make makesum'

PR:		227199
Submitted by:	ohartmann@walstatt.org
2018-04-02 20:11:58 +00:00

20 lines
996 B
Text

--- config/config.php.example.orig 2012-10-01 06:54:14 UTC
+++ config/config.php.example
@@ -379,7 +379,7 @@ $servers->setValue('server','name','My L
/* Default password hashing algorithm. One of md5, ssha, sha, md5crpyt, smd5,
blowfish, crypt or leave blank for now default algorithm. */
-// $servers->setValue('appearance','password_hash','md5');
+// $servers->setValue('appearance','password_hash_custom','md5');
/* If you specified 'cookie' or 'session' as the auth_type above, you can
optionally specify here an attribute to use when logging in. If you enter
@@ -546,7 +546,7 @@ $servers->setValue('sasl','authz_id_rege
$servers->setValue('sasl','authz_id_replacement','$1');
$servers->setValue('sasl','props',null);
-$servers->setValue('appearance','password_hash','md5');
+$servers->setValue('appearance','password_hash_custom','md5');
$servers->setValue('login','attr','dn');
$servers->setValue('login','fallback_dn',false);
$servers->setValue('login','class',null);