6f218a6fa889 — Bill Welliver 12 years ago
some docs
1 files changed, 12 insertions(+), 1 deletions(-)

M auth/README
M auth/README +12 -1
@@ 2,7 2,7 @@ This is a Fins controller and set of tem
 authentication in an application. This module includes code for dealing
 with passwords stored in clear text form, as well as MD5-crypted password
 strings. The default configuration uses plain text passwords, to change to
-MD5-crypted passwords, modify the auth class so that the 3 function place
+MD5-crypted passwords, modify the auth class so that the 3 function place-
 holder variables point to the respective MD5 enabled functions contained
 in the auth class (md5_validate_user, md5_reset_password and md5_find_user_password)
 

          
@@ 10,6 10,17 @@ The default methods in the controller as
 is called "User", and that the user's login name field is called 
 "username" and that the password is stored in a field called "password".
 
+Copy the contents of the classes and templates folders to your application, then
+hook the new auth controller into your application by adding something like the 
+following to your root controller:
+
+object auth;
+
+void start()
+{
+  auth = load_controller("auth/controller");
+}
+
 To make an entire controller accessible by authenticated users only,
 you'd add the following to your controller: