mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-30 03:14:31 +00:00
check for $_POST['logininfo'/'action']
This commit is contained in:
parent
2a35765fde
commit
c2b7e4d6c2
|
|
@ -86,12 +86,13 @@ else if (isset($_GET["referuri"]) && strlen($_GET["referuri"])>0) {
|
|||
add_log_line();
|
||||
|
||||
$controller->setParam('login', $login);
|
||||
$controller->setParam('logininfo', $_POST['logininfo'] ? $_POST['logininfo'] : '');
|
||||
$controller->setParam('logininfo', !empty($_POST['logininfo']) ? $_POST['logininfo'] : '');
|
||||
$controller->setParam('pwd', $pwd);
|
||||
$controller->setParam('lang', $lang);
|
||||
$controller->setParam('sesstheme', $sesstheme);
|
||||
$controller->setParam('session', $session);
|
||||
switch($_POST['action']) {
|
||||
$action = !empty($_POST['action']) ? $_POST['action'] : '';
|
||||
switch($action) {
|
||||
case 'preparelogin':
|
||||
$controller->preparelogin();
|
||||
exit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user