diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-06 22:56:52 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-06 22:56:52 +0000 |
| commit | 25d030792dc890cb40286feb98414090ad415226 (patch) | |
| tree | 70906354cf81de1addc74462d0c3123fb0e56b51 /BitUser.php | |
| parent | 546e2f09b92a59f52c123668a02d6f5abe635a09 (diff) | |
| download | users-25d030792dc890cb40286feb98414090ad415226.tar.gz users-25d030792dc890cb40286feb98414090ad415226.tar.bz2 users-25d030792dc890cb40286feb98414090ad415226.zip | |
further paermission renaming and cleanup
Diffstat (limited to 'BitUser.php')
| -rw-r--r-- | BitUser.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/BitUser.php b/BitUser.php index af84ac0..f7cee8d 100644 --- a/BitUser.php +++ b/BitUser.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/BitUser.php,v 1.45 2006/02/06 11:02:42 lsces Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/BitUser.php,v 1.46 2006/02/06 22:56:51 squareing Exp $ * * Lib for user administration, groups and permissions * This lib uses pear so the constructor requieres @@ -12,7 +12,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: BitUser.php,v 1.45 2006/02/06 11:02:42 lsces Exp $ + * $Id: BitUser.php,v 1.46 2006/02/06 22:56:51 squareing Exp $ * @package users */ @@ -40,7 +40,7 @@ define("ACCOUNT_DISABLED", -6); * Class that holds all information for a given user * * @author spider <spider@steelsun.com> - * @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<br>"; $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`=?"; |
