diff --git a/cypress/e2e/2-create-account.cy.js b/cypress/e2e/2-create-account.cy.js index a40fd168..2ee53d5d 100644 --- a/cypress/e2e/2-create-account.cy.js +++ b/cypress/e2e/2-create-account.cy.js @@ -22,7 +22,7 @@ describe('Create Account Page', () => { cy.get('#vocation1').check() cy.get('#accept_rules').check() - cy.get('#form').submit() + cy.get('#createaccount').submit() // no errors please cy.contains('The Following Errors Have Occurred:').should('not.exist') diff --git a/system/templates/account.create.html.twig b/system/templates/account.create.html.twig index 40a9313c..d6105a70 100644 --- a/system/templates/account.create.html.twig +++ b/system/templates/account.create.html.twig @@ -297,7 +297,7 @@
-
+ {{ csrf() }} {{ include('buttons.submit.html.twig') }}