Sha256: 8cd124a1c4c965cb211c5c7183a29805586d2da547693115cff54ceb543415e2
Contents?: true
Size: 320 Bytes
Versions: 1
Compression:
Stored size: 320 Bytes
Contents
class DeviseInstant2fa::PasswordsController < Devise::PasswordsController def sign_in(resource_or_scope, *args) resource = args.last || resource_or_scope if resource.respond_to?(:with_instant2fa_verification_url) && resource.with_instant2fa_verification_url true else super end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_instant2fa-1.0.2 | app/controllers/devise_instant2fa/passwords_controller.rb |