A Crystal web framework that makes building applications fast, simple, and enjoyable. Get started with quick prototyping, less bugs, and blazing fast performance.
Using the default generated Auth-Registration Controller, you get a 500 error if both fields are left blank.
I thought this was fixed in #1085, but still happens for me.
Steps to Reproduce
generate new amber app
amber g auth User
go to sign up page and leave the fields completely empty
Expected behavior: Error should be added to user.errors and shown to the user
Description
Using the default generated Auth-Registration Controller, you get a 500 error if both fields are left blank. I thought this was fixed in #1085, but still happens for me.
Steps to Reproduce
Expected behavior: Error should be added to
user.errors
and shown to the userActual behavior: 500 error is thrown
Reproduces how often: 100%
Versions
Crytal 1.0.0 Amber 0.36.0