File: user.rb

# user.rb

Path: | lib/generators/templates/application/merb_stack/app/models/user.rb
Last Update: | Mon Aug 23 01:20:34 -0600 2010

This is a default user class used to activate merb-auth. Feel free to change from a User to Some other class, or to remove it altogether. If removed, merb-auth may not work by default.

Don‘t forget that by default the salted_user mixin is used from merb-more You‘ll need to setup your db as per the salted_user mixin, and you‘ll need To use :password, and :password_confirmation when creating a user

see merb/merb-auth/setup.rb to see how to disable the salted_user mixin

You will need to setup your database and create a user.

[Validate]