This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.rdoc | Thu Apr 02 06:44:17 -0700 2009 | |
| |
init.rb | Thu Apr 02 06:44:24 -0700 2009 | |
| |
lib/ | Fri Apr 03 00:21:57 -0700 2009 |
README.rdoc
Simple Auth
It is a very simple rails plugin that allows the authentication of users via HTTP. It supports only a mono user authentication. But that’s the goal, to keep it super simple.
Installation
Copy the folder to vendor/plugins. Restart your server. Add, in the controller where you want to have an authentication, the following :
- before_filter :require_simple_auth
You can also add the options :only and :except.
Configure appropriately config/auth.yml with the logins and passwords for your environments. The encoding options can be : md5, sha1 or (default), nothing.
Load your controller and enjoy :)







