Vergleich admin/index.php - 1.8.30 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 108Zeile 108
	{
$user = get_user_by_username($mybb->input['username'], array('fields' => '*'));


	{
$user = get_user_by_username($mybb->input['username'], array('fields' => '*'));


		if(!$user['uid'])

		if(!$user)

		{
$error = $lang->error_invalid_username;
}

		{
$error = $lang->error_invalid_username;
}

Zeile 116Zeile 116
	else if($mybb->input['uid'])
{
$user = get_user($mybb->input['uid']);

	else if($mybb->input['uid'])
{
$user = get_user($mybb->input['uid']);

		if(!$user['uid'])

		if(!$user)

		{
$error = $lang->error_invalid_uid;
}

		{
$error = $lang->error_invalid_uid;
}

Zeile 296Zeile 296
			$db->update_query("adminoptions", array("loginattempts" => 0, "loginlockoutexpiry" => 0), "uid='{$mybb->user['uid']}'");
}


			$db->update_query("adminoptions", array("loginattempts" => 0, "loginlockoutexpiry" => 0), "uid='{$mybb->user['uid']}'");
}


		my_setcookie("adminsid", $sid, '', true, "lax");

		my_setcookie("adminsid", $sid, '', true, "strict");

		my_setcookie('acploginattempts', 0);
$post_verify = false;


		my_setcookie('acploginattempts', 0);
$post_verify = false;


Zeile 329Zeile 329
				{
$params = explode("=", $param);


				{
$params = explode("=", $param);


					$query_string .= '&'.htmlspecialchars_uni($params[0])."=".htmlspecialchars_uni($params[1]);






					$query_string .= '&'.htmlspecialchars_uni($params[0]);

if(isset($params[1]))
{
$query_string .= "=".htmlspecialchars_uni($params[1]);
}

				}
}


				}
}


Zeile 521Zeile 526
	$is_super_admin = is_super_admin($mybb->user['uid']);
}


	$is_super_admin = is_super_admin($mybb->user['uid']);
}


if($mybb->usergroup['cancp'] != 1 && !$is_super_admin || !$mybb->user['uid'])

if(empty($mybb->usergroup['cancp']) && !$is_super_admin || !$mybb->user['uid'])

{
$uid = 0;
if(isset($mybb->user['uid']))

{
$uid = 0;
if(isset($mybb->user['uid']))