Path: | lib/generators/templates/application/merb_stack/merb/merb-auth/setup.rb |
Last Update: | Mon Mar 02 02:36:04 -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