2 quick question about SaltedLoginGenerator


#1

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