Open wesleymilan opened 10 years ago
I'm not exactly sure if it's better to have the validation rules as configs. If an application have different business rules of how a valid user should look a like, then it's a better idea to have a class to do it.
Using the config files to do this seems like a bad idea to me :(
Although the validation in config, to save the confirmation DateTime
seems a pretty good idea. I liked it.
But I didn't get why the setTimezone
is necessary. Can you explain to me?
I'd just added the username_type and validation rules into config file to avoid the needs of extend or overwrite the Zizaco classes. This can turn easier to setup and modify rules while using confide.
Thanks for do it, Confide is a great package.
Regards