[Mapbender-commits] r5911 - branches/3_dev/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sun Apr 11 07:04:50 EDT 2010
Author: astrid_emde
Date: 2010-04-11 07:04:50 -0400 (Sun, 11 Apr 2010)
New Revision: 5911
Modified:
branches/3_dev/http/plugins/mod_confirmLogin_server.php
Log:
Modified: branches/3_dev/http/plugins/mod_confirmLogin_server.php
===================================================================
--- branches/3_dev/http/plugins/mod_confirmLogin_server.php 2010-04-11 11:04:08 UTC (rev 5910)
+++ branches/3_dev/http/plugins/mod_confirmLogin_server.php 2010-04-11 11:04:50 UTC (rev 5911)
@@ -5,20 +5,20 @@
$command = $_POST["command"];
$pattern = "/[a-z]/i";
if (!preg_match($pattern, $command)) {
- echo _mb("Command not valid!");
+ echo _mb("The command is not valid!");
die;
}
$userId = $_POST["userId"];
if (!is_numeric($userId)) {
- echo _mb("User ID not valid!");
+ echo _mb("The user ID is not valid!");
die;
}
$userTicket = $_POST["userTicket"];
$pattern = "/[a-z0-9]{30}/i";
if (!preg_match($pattern, $userTicket)) {
- echo _mb("User Ticket not valid!");
+ echo _mb("The user ticket is not valid!");
die;
}
More information about the Mapbender_commits
mailing list