setup.rb

Path: lib/generators/templates/application/merb_stack/merb/merb-auth/setup.rb
Last Update: Tue Mar 03 15:31:53 -0700 2009

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]