setup.rb

Path: lib/generators/templates/application/merb_stack/merb/merb-auth/setup.rb
Last Update: Mon Mar 08 20:32:15 -0700 2010

This file is specifically setup for use with the merb-auth plugin. This file should be used to setup and configure your authentication stack. It is not required and may safely be deleted.

To change the parameter names for the password or login field you may set either of these two options

Merb::Plugins.config[:"merb-auth"][:login_param] = :email Merb::Plugins.config[:"merb-auth"][:password_param] = :my_password_field_name

Required files

merb-auth-more/mixins/salted_user  

Included Modules

Merb::Authentication::Mixins::SaltedUser

[Validate]