Additional model functionallity and error messaging.
Additional model functionallity and error messaging.

Copied the encrypt () and generateSalt () methods to the Base Model.
Obviously they belong there but I don't see why you wouldn't use them
in the Controller.

I also removed var_dumping on error messages, that makes no sense.
A die should suffice.

NathanBastiaans/emmaphp,bobdesaunois/emmaphp