Thanks Bryan, I tried changing the activate transition the way you mentioned, but nothing happened. What I want to do is force the user to change his password the first time he logs in. All the user's user and password are already created.
2012/9/20 Bryan Larsen <[email protected]> > In one of our apps we tweaked the lifecycle to add an activation step: > > transition :activate, { :inactive => :active }, :params => > [:password, :password_confirmation], :available_to => :key_holder > > cheers, > Bryan > > > On Thu, Sep 20, 2012 at 2:37 AM, Vivek Sampara <[email protected]> > wrote: > > /app/controllers/users_controller.rb > > > > def login > > hobo_login > > end > > > > Vivek > > > > > > On Thu, Sep 20, 2012 at 3:17 AM, odieom <[email protected]> wrote: > >> > >> For the life of me I cannot find where to do this. I haven't even been > >> able to find where the login action takes place. Can anyone help me? > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "Hobo Users" group. > >> To view this discussion on the web visit > >> https://groups.google.com/d/msg/hobousers/-/N10xB-PU4TUJ. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]. > >> For more options, visit this group at > >> http://groups.google.com/group/hobousers?hl=en. > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Hobo Users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > > http://groups.google.com/group/hobousers?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
