NoamB/sorcery — Issue #225: Expiration Date for non-active user who is allowed to sign in
Author: daemonsy
Created: 2012-02-27 05:41:05+00:00
State: open

Hi, Thanks for Sorcery.

IMHO, it's a pretty common use case nowadays to let users sign in, test some parts of the web app before activation via email.

In Sorcery, we can set ```ruby user.prevent_non_active_users_to_login``` to false to allow non users to sign in. Is there an option to set an expiry date for non activated users to finish activation or a user method to check if the user is non-active?

I pretty much just begun in Rails 2 months ago, but I would like to make an attempt to take this up if it's useful.