Thursday, August 26, 2010

[Rails] Re: Authlogic: activating inactive account/user

Yep, among other things. What I have gathered so far (although I could
be wrong) is that Authlogic validations happen for UserSession before
anything else. I believe that authlogic then goes and grabs info from
the session and does its thing (which I don't know yet what it is) and
marks the user as inactive and ends the process, redirecting the user
to the login screen.

On Aug 26, 5:13 pm, IAmNan <dger...@gmail.com> wrote:
> Did you try resetting failed_login_count to 0?
>
> d.
>
> On Aug 26, 11:30 am, pepe <P...@BetterRPG.com> wrote:
>
> > Hello,
>
> > I have searched high and low on how to activate an inactive account in
> > Authlogic and I can't seem to figure it out.
>
> > I am using "consecutive_failed_logins_limit" to control a brute force
> > attack and I want to offer a function so a 'manager' can enable the
> > inactive account and bypass the number of hours/minutes the user would
> > need to wait to attempt to login otherwise.
>
> > Thank you for your help.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate