summaryrefslogtreecommitdiff
path: root/change_password.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-04-19 17:11:19 +0000
committerChristian Fowler <spider@viovio.com>2006-04-19 17:11:19 +0000
commitb320d0821863954994e64a7c78e782662043a3af (patch)
treea8ed33e1f6f5a67b91688840265a2c6d7fc00320 /change_password.php
parent312a4b207665bc9160f68f9858a2bd0457124172 (diff)
downloadusers-b320d0821863954994e64a7c78e782662043a3af.tar.gz
users-b320d0821863954994e64a7c78e782662043a3af.tar.bz2
users-b320d0821863954994e64a7c78e782662043a3af.zip
mass kernel_config renaming for users_
Diffstat (limited to 'change_password.php')
-rw-r--r--change_password.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/change_password.php b/change_password.php
index e17dfba..f3a7401 100644
--- a/change_password.php
+++ b/change_password.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/change_password.php,v 1.3 2005/08/01 18:42:02 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/change_password.php,v 1.4 2006/04/19 17:11:19 spiderr 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: change_password.php,v 1.3 2005/08/01 18:42:02 squareing Exp $
+ * $Id: change_password.php,v 1.4 2006/04/19 17:11:19 spiderr Exp $
* @package users
* @subpackage functions
*/
@@ -35,11 +35,11 @@ if (isset($_REQUEST["change"])) {
$gBitSystem->fatalError( tra("Invalid old password") );
}
//Validate password here
- if (strlen($_REQUEST["pass"]) < $min_pass_length) {
- $gBitSystem->fatalError( tra("Password should be at least"). ' ' . $min_pass_length . ' ' . tra("characters long") );
+ if (strlen($_REQUEST["pass"]) < $users_min_pass_length) {
+ $gBitSystem->fatalError( tra("Password should be at least"). ' ' . $users_min_pass_length . ' ' . tra("characters long") );
}
// Check this code
- if ($pass_chr_num == 'y') {
+ if ($users_pass_chr_num == 'y') {
if (!preg_match_all("/[0-9]+/", $_REQUEST["pass"], $foo) || !preg_match_all("/[A-Za-z]+/", $_REQUEST["pass"], $foo)) {
$gBitSmarty->assign('msg', tra("Password must contain both letters and numbers"));
$gBitSystem->display( 'error.tpl' );