Forum: Ruby on Rails 2 quick question about SaltedLoginGenerator

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bc912b37358cd1f8819ac7ba90c01212?d=identicon&s=25 Yi Tan (Guest)
on 2006-05-30 18:53
(Received via mailing list)
Hi all,

I'm using the Salted Login Generator. It's fantastic.

And I have tow quick questions, wish you could give me a hint.

1. I have a few controllers, which all got "index" action. And how can I
make login system pass Controller1::index, but restrict access to
Controller2::index

2. When the user click the link to verify himself, I want to fill some
my
customised records in database for the initialisation of user
preference.
And wonder where is the best place to put these code in your login
system.

--
Many thanks,

Yi
This topic is locked and can not be replied to.