Ignore hook system in installer.
[fa-stable.git] / admin / change_current_user_password.php
index 29112d0376f266ddcb38e38e0398777a0a159ec2..4ed37fb012d1f55c2a13e4e1225179a2263a014b 100644 (file)
@@ -47,7 +47,7 @@ function can_process()
        return true;
 }
 
-if (isset($_POST['UPDATE_ITEM']))
+if (isset($_POST['UPDATE_ITEM']) && check_csrf_token())
 {
 
        if (can_process())
@@ -66,7 +66,7 @@ if (isset($_POST['UPDATE_ITEM']))
 
 start_form();
 
-start_table($table_style);
+start_table(TABLESTYLE);
 
 $myrow = get_user($_SESSION["wa_current_user"]->user);