Path: | lib/generators/templates/application/merb_stack/merb/merb-auth/setup.rb |
Last Update: | Tue Mar 09 13:28:07 -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