[Mapbender-commits] r2745 - branches/2.5/http/frames
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Aug 6 10:31:38 EDT 2008
Author: astrid_emde
Date: 2008-08-06 10:31:38 -0400 (Wed, 06 Aug 2008)
New Revision: 2745
Modified:
branches/2.5/http/frames/login.php
Log:
Bugfix: http://trac.osgeo.org/mapbender/ticket/266
Modified: branches/2.5/http/frames/login.php
===================================================================
--- branches/2.5/http/frames/login.php 2008-08-06 11:40:19 UTC (rev 2744)
+++ branches/2.5/http/frames/login.php 2008-08-06 14:31:38 UTC (rev 2745)
@@ -90,7 +90,6 @@
$name = $_REQUEST["name"];
$password = $_REQUEST["password"];
-$loginMax = MAXLOGIN;
if(!isset($name) || $name == ''){
echo "<script type='text/javascript'>";
@@ -149,7 +148,7 @@
include(dirname(__FILE__)."/../../conf/session.conf");
}
if($_SESSION["mb_user_id"]){
- if($row["mb_user_login_count"] < $loginMax){
+ if($row["mb_user_login_count"] <= MAXLOGIN){
$sql_del_cnt = "UPDATE mb_user SET mb_user_login_count = 0 WHERE mb_user_id = $1";
$v = array($_SESSION['mb_user_id']);
$t = array("i");
More information about the Mapbender_commits
mailing list