Fixed a bug, that when an error occurs, the token did not pass again in the hidden input