ajax request can use post or get

This commit is contained in:
Uwe Steinmann 2013-09-03 08:19:59 +02:00
parent eef320ce0b
commit ae1f78228a

View File

@ -54,11 +54,11 @@ if (isset($_COOKIE["mydms_session"])) {
include $settings->_rootDir . "languages/" . $resArr["language"] . "/lang.inc";
$command = $_GET["command"];
$command = $_REQUEST["command"];
switch($command) {
case 'checkpwstrength':
$ps = new Password_Strength();
$ps->set_password($_GET["pwd"]);
$ps->set_password($_REQUEST["pwd"]);
if($settings->_passwordStrengthAlgorithm == 'simple')
$ps->simple_calculate();
else