Greetings,
I recently started using the login engine, one the first things we
needed
was the ability for a user to click a “remember-me” type of check box
and a
cookie be set.
I was able to accomplish this in the login-engine with some very minor
changes to the following code.
M app\models\user.rb (Added a new attribute, no need to save this
in
the database)
M app\controllers\user_controller.rb (Setting a cookie if the
remember-me check box is checked)
M app\views\user\login.rhtml (Added a check box )
M lib\login_engine\authenticated_system.rb (Checking to see if
there is
a cookie and if there is, creating the user from it)
I have attached the code to this mail, do you think this is some feature
that could be added to the login engine ?