summaryrefslogtreecommitdiff
path: root/remind_password.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-05-29 18:41:04 +0000
committerLester Caine <lester@lsces.co.uk>2006-05-29 18:41:04 +0000
commitba6e8668494941f4e81043a833d097aa22c5c250 (patch)
treeece1d7321dfb8f761bc1a36973b4fc9f91f0385d /remind_password.php
parentbbf5a2c54f27d222e3499e8c8dc63b52e436384f (diff)
downloadusers-ba6e8668494941f4e81043a833d097aa22c5c250.tar.gz
users-ba6e8668494941f4e81043a833d097aa22c5c250.tar.bz2
users-ba6e8668494941f4e81043a833d097aa22c5c250.zip
Plain text password became user_password when reserved word conflicts were removed. This updates the secondary uses of the plain text entry.
Diffstat (limited to 'remind_password.php')
-rw-r--r--remind_password.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/remind_password.php b/remind_password.php
index 27400c9..f7bc978 100644
--- a/remind_password.php
+++ b/remind_password.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/remind_password.php,v 1.12 2006/05/08 04:25:38 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/remind_password.php,v 1.13 2006/05/29 18:41:04 lsces Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,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: remind_password.php,v 1.12 2006/05/08 04:25:38 spiderr Exp $
+ * $Id: remind_password.php,v 1.13 2006/05/29 18:41:04 lsces Exp $
* @package users
* @subpackage functions
*/
@@ -31,8 +31,8 @@ if( $gBitUser->isRegistered() ) {
$userInfo = $gBitUser->getUserInfo( array( $loginCol => $pLogin ) );
}
if( $userInfo ) {
- if ( $gBitSystem->isFeatureActive( 'users_clear_passwords' ) && !empty($userInfo['password']) ) {
- $pass = $userInfo['password'];
+ if ( $gBitSystem->isFeatureActive( 'users_clear_passwords' ) && !empty($userInfo['user_password']) ) {
+ $pass = $userInfo['user_password'];
$tmp['success'] = tra("A password reminder email has been sent ");
} else {
$pass = $gBitUser->renewPassword( $_REQUEST["username"] );