Path: | README.textile |
Last Update: | Mon Mar 08 20:38:55 -0700 2010 |
MerbAuthSlicePassword ==================
A slice for the Merb framework that uses the merb-auth-core authentication framework. This slice provides a basic login and logout function. By default it also include the form based password logins and basic authentication.
To see how to customize it see the merb-auth-core
To use this slice setup some strategies and make sure you have everything required there. Usually a "User" model of some kind.
To overwrite the login form, you should just create a view file in app/views/exceptions/unauthenticated.html.erb in the host app.
By default the slice will load the password_form and the basic_auth strategies. To prevent the slice from loading strategeis use: MerbAutheSliceDefault[:no_default_strategies] = true
<pre>