Closed mattijsgietman closed 1 year ago
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
Since this will be split in multiple PRs I'll close this.
This PR acomplishes a bug fix aswell as a FR. To get into more detail on what has exactly been done, please read below.
Bug Fix: "500 on creating duplicate account" For this fix I modified the file: "SecurityController.php". When submitting the form we get the e-mailadress and check our DB to see if the mail already exists. If this is indeed the case we'll show the error message: "E-mail bestaat al". If this is not the case account creation will continue.
FR: "New activity form should automatically create default price option" For this FR I altered the "ActivityController.php" file and added a price option to the form, I added a label to the file "PriceOptionType.php". Furthermore, I added tests to the test-file to test this feature.