Module Devise::Models::Lockable::ClassMethods
In: lib/devise/models/lockable.rb

Methods

Public Instance methods

Is the lock enabled for the given lock strategy?

Attempt to find a user by its email. If a record is found, send new unlock instructions to it. If not user is found, returns a new user with an email not found error. Options must contain the user email

Find a user by its unlock token and try to unlock it. If no user is found, returns a new user with an error. If the user is not locked, creates an error for the user Options must have the unlock_token

Is the unlock enabled for the given unlock strategy?

[Validate]