Backports commit 8827fc52 to platal-core.
[platal.git] / classes / plwizard.php
index e12eec7..ab3dbca 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();