|
From: Jonathan H. <the...@us...> - 2002-03-06 21:58:56
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv23082
Modified Files:
install.php
Log Message:
Fix for bug #525357... Admin password should not be allowed to be blank for security reasons...
Index: install.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/install.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** install.php 29 Jan 2002 22:46:16 -0000 1.31
--- install.php 6 Mar 2002 21:58:49 -0000 1.32
***************
*** 501,505 ****
}
}
! else if( ( empty($install_step) || $admin_pass1 != $admin_pass2 || $dbhost == "" ) && !defined("PHPBB_INSTALLED") )
{
//
--- 501,505 ----
}
}
! else if( ( empty($install_step) || $admin_pass1 != $admin_pass2 || empty($admin_pass1) || $dbhost == "" ) && !defined("PHPBB_INSTALLED") )
{
//
***************
*** 515,519 ****
$instruction_text = $lang['Inst_Step_0'];
! if( $HTTP_POST_VARS['admin_pass1'] != $HTTP_POST_VARS['admin_pass2'] )
{
$instruction_text = $lang['Password_mismatch'] . '<br />' . $instruction_text;
--- 515,519 ----
$instruction_text = $lang['Inst_Step_0'];
! if( ($HTTP_POST_VARS['admin_pass1'] != $HTTP_POST_VARS['admin_pass2']) || empty($HTTP_POST_VARS['admin_pass1'] )
{
$instruction_text = $lang['Password_mismatch'] . '<br />' . $instruction_text;
|