Zeile 497 | Zeile 497 |
---|
{ $plugins->run_hooks("admin_logout");
|
{ $plugins->run_hooks("admin_logout");
|
if(verify_post_check($mybb->input['my_post_key']))
| if(verify_post_check($mybb->get_input('my_post_key')))
|
{ $db->delete_query("adminsessions", "sid='".$db->escape_string($mybb->cookies['adminsid'])."'"); my_unsetcookie('adminsid');
| { $db->delete_query("adminsessions", "sid='".$db->escape_string($mybb->cookies['adminsid'])."'"); my_unsetcookie('adminsid');
|
Zeile 810 | Zeile 810 |
---|
if($post_verify == true) { // If the post key does not match we switch the action to GET and set a message to show the user
|
if($post_verify == true) { // If the post key does not match we switch the action to GET and set a message to show the user
|
if(!verify_post_check($mybb->input['my_post_key'], true))
| if(!verify_post_check($mybb->get_input('my_post_key'), true))
|
{ $mybb->request_method = "get"; $page->show_post_verify_error = true;
| { $mybb->request_method = "get"; $page->show_post_verify_error = true;
|