Ruby on Rails Friday, September 15, 2017

On Fri, Sep 15, 2017 at 1:52 PM, Ben Edwards <login@funkytwig.com> wrote:
> Saying that you could probably lock the account perminately with some
> cleaver setup and a bit of SQL, which is almost not coding.

If you enabled the :lockable feature, all you'd have to do would be
to "log in" with a bad password N times (whatever you've config'd)
and boom, user locked out.

I'd personally prefer to write a simple admin method, but...

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCSM4SOm4VtJrUoJoeW-Dp6Sd-Hdknr9HX%2BcgDYXV4g%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment