Browse Source

code for user being in dev env not being asked for 2fa

pull/619/head
JG 3 years ago committed by baarkerlounger
parent
commit
538035d461
  1. 1
      app/models/user.rb

1
app/models/user.rb

@ -90,6 +90,7 @@ class User < ApplicationRecord
end
def need_two_factor_authentication?(_request)
return false if Rails.env.development?
support?
end

Loading…
Cancel
Save