From 6be4a42c5a9c564d53fee3cd8495c64fe6fb4e57 Mon Sep 17 00:00:00 2001 From: slawkens Date: Thu, 30 May 2024 13:48:53 +0200 Subject: [PATCH] Revert "Fix form id" This reverts commit d225c2da26a43d553596228cfe2a27b4887157e0. --- cypress/e2e/2-create-account.cy.js | 2 +- system/templates/account.create.html.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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') }}