mirror of
https://git.coolaj86.com/coolaj86/browser-authenticator.js
synced 2025-03-13 20:00:45 +00:00
ignore mobile safari for now
This commit is contained in:
parent
07ac4004b8
commit
1d7a1689ec
2
bower_components/botp/sha1-hmac.js
vendored
2
bower_components/botp/sha1-hmac.js
vendored
@ -12,7 +12,7 @@ exports.sha1Hmac = function (key, bytes) {
|
||||
|
||||
var Unibabel = window.Unibabel;
|
||||
|
||||
if (window.crypto) {
|
||||
if (window.crypto && window.crypto.subtle) {
|
||||
return (window.crypto.subtle||window.crypto.webkitSubtle).importKey(
|
||||
"raw"
|
||||
, key
|
||||
|
Loading…
x
Reference in New Issue
Block a user