mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
ajax request can use post or get
This commit is contained in:
parent
eef320ce0b
commit
ae1f78228a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user