Method: RequireEmailVerification#lock_access!

Defined in:
app/models/concerns/require_email_verification.rb

#lock_access!(opts = {}) ⇒ Object

When overridden, do not send Devise unlock instructions when locking access.



19
20
21
22
23
# File 'app/models/concerns/require_email_verification.rb', line 19

def lock_access!(opts = {})
  return super unless override_devise_lockable?

  super({ send_instructions: false })
end