Getting a Invalid token on registration page

Permalink
I have overridden the registration page and it was working fine.

Now the clients has upgraded and i am getting a Invalid token error.

This is on a 5.7 site

TMDesigns
 
hutman replied on at Permalink Reply
hutman
I would suggest comparing the updated registration page with your overridden one to see what changes were made in the new version and update your copy.
TMDesigns replied on at Permalink Best Answer Reply
TMDesigns
All sorted,

They have added these lines to the file:

<?php defined('C5_EXECUTE') or die("Access Denied.");
$token = \Core::make('Concrete\Core\Validation\CSRF\Token');
?>

<form method="post" action="<?php echo $view->url('/register', 'do_register')?>" class="form-stacked">
      <?php $token->output('register.do_register') ?>