From 25d030792dc890cb40286feb98414090ad415226 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Mon, 6 Feb 2006 22:56:52 +0000 Subject: further paermission renaming and cleanup --- BitUser.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'BitUser.php') diff --git a/BitUser.php b/BitUser.php index af84ac0..f7cee8d 100644 --- a/BitUser.php +++ b/BitUser.php @@ -1,6 +1,6 @@ - * @version $Revision: 1.45 $ + * @version $Revision: 1.46 $ * @package users * @subpackage BitUser */ @@ -349,7 +349,7 @@ class BitUser extends LibertyAttachable { // renew password only next half year ;) $pParamHash['user_store']['pass_due'] = $now + (60 * 60 * 24 * $pParamHash['pass_due']); } - if( $gBitSystem->isFeatureActive( 'feature_clear_passwords' ) || !empty( $pParamHash['user_store']['provpass'] ) ) { + if( $gBitSystem->isFeatureActive( 'clear_passwords' ) || !empty( $pParamHash['user_store']['provpass'] ) ) { $pParamHash['user_store']['password'] = $pParamHash['password']; } } @@ -1127,7 +1127,7 @@ echo "userAuthPresent: $userAuthPresent
"; $hash = md5(strtolower($user) . $pass . $email); $now = $gBitSystem->getUTCTime();; $new_pass_due = $now + (60 * 60 * 24 * $gBitSystem->getPreference( 'pass_due' ) ); - if( !$gBitSystem->isFeatureActive( 'feature_clear_passwords' ) ) { + if( !$gBitSystem->isFeatureActive( 'clear_passwords' ) ) { $pass = ''; } $query = "update `".BIT_DB_PREFIX."users_users` set `hash`=? ,`password`=? ,`pass_due`=? where " . $this->mDb->convert_binary(). " `login`=?"; -- cgit v1.3