From 02ec3a5e1fd238a0a06aaf6169be72c9a7572b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 27 Dec 2023 14:08:13 +0100 Subject: [PATCH] Update config.inc.php --- conf/config.inc.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/conf/config.inc.php b/conf/config.inc.php index b226b97..d4dedda 100644 --- a/conf/config.inc.php +++ b/conf/config.inc.php @@ -548,29 +548,29 @@ $conf['external_authentification'] = true; // user_fields : mapping between generic field names and table specific // field names. For example, in PWG, the mail address is names // "mail_address" and in punbb, it's called "email". -$conf['user_fields'] = array( - 'id' => 'id', - 'username' => 'username', - 'password' => 'password', - 'email' => 'mail_address' - ); +//$conf['user_fields'] = array( +// 'id' => 'id', +// 'username' => 'username', +// 'password' => 'password', +// 'email' => 'mail_address' +// ); // password_hash: function hash the clear user password to store it in the // database. The function takes only one parameter: the clear password. -$conf['password_hash'] = 'pwg_password_hash'; +//$conf['password_hash'] = 'pwg_password_hash'; // password_verify: function that checks the password against its hash. The // function takes 2 mandatory parameter : clear password, hashed password + // an optional parameter user_id. The user_id is used to update the password // with the new hash introduced in Piwigo 2.5. See function // pwg_password_verify in include/functions_user.inc.php -$conf['password_verify'] = 'pwg_password_verify'; +//$conf['password_verify'] = 'pwg_password_verify'; // guest_id : id of the anonymous user -$conf['guest_id'] = 2; +//$conf['guest_id'] = 2; // default_user_id : id of user used for default value -$conf['default_user_id'] = $conf['guest_id']; +//$conf['default_user_id'] = $conf['guest_id']; // Registering process and guest/generic members get language from the browser // if language isn't available PHPWG_DEFAULT_LANGUAGE is used as previously