Adds XSRF protection to the Profile module.
[platal.git] / classes / plwizard.php
index 3667268..fecf881 100644 (file)
@@ -151,6 +151,8 @@ class PlWizard
 
         // Process the previous page
         if (Post::has('valid_page')) {
+            S::assert_xsrf_token();
+
             $page = $this->getPage(Post::i('valid_page'));
             $curpage = Post::i('valid_page');
             $next = $page->process();