Commit f22d7680 authored by Jakub Kramarz's avatar Jakub Kramarz Committed by Jonas Kalderstam

Enable FIDO U2F on Opera browser, see http://caniuse.com/#feat=u2f

parent 288e8c7c
module U2fHelper module U2fHelper
def inject_u2f_api? def inject_u2f_api?
browser.chrome? && browser.version.to_i >= 41 && !browser.device.mobile? ((browser.chrome? && browser.version.to_i >= 41) || (browser.opera? && browser.version.to_i >= 40)) && !browser.device.mobile?
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment