plugins/SpecialUserFuncs.php
changeset 573 43e7254afdb4
parent 562 75df0b2c596c
child 586 234ddd896555
equal deleted inserted replaced
572:c196e8f336b9 573:43e7254afdb4
   610     $paths->main_page();
   610     $paths->main_page();
   611   
   611   
   612   $token = $paths->getParam(0);
   612   $token = $paths->getParam(0);
   613   if ( $token !== $session->csrf_token )
   613   if ( $token !== $session->csrf_token )
   614   {
   614   {
   615     csrf_confirm_form();
   615     csrf_request_confirm();
   616   }
   616   }
   617   
   617   
   618   $l = $session->logout();
   618   $l = $session->logout();
   619   if ( $l == 'success' )
   619   if ( $l == 'success' )
   620   {
   620   {