app/models/devise_token/concerns/user.rb
# override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
def send_unlock_instructions(opts=nil)
      raw, enc = Devise.token_generator.generate(self.class, :unlock_token)
      self.unlock_token = enc
      save(validate: false)
      opts ||= {}
      send_devise_notification(:unlock_instructions, raw, opts)
      raw
    end
def send_unlock_instructions ( opts = nil ) raw , enc = Devise . token_generator . generate ( self . class , :unlock_token ) self . unlock_token = enc save ( validate : false ) opts ||= { } send_devise_notification ( :unlock_instructions , raw , opts ) raw end
override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
opts
<not_specific>