Upgrade FIDO2 and fix Authorize button on iOS

This commit is contained in:
Mohamed El-Kalioby
2021-10-14 19:37:40 +03:00
parent 773a16df50
commit 5475a3bf87
5 changed files with 16 additions and 9 deletions

View File

@@ -105,7 +105,7 @@
$("#main_paragraph").html("FIDO2 must work under secure context")
} else {
ua=new UAParser().getResult()
if (ua.browser.name == "Safari")
if (ua.browser.name == "Safari" || ua.browser.name == "Mobile Safari" )
$("#res").html("<button class='btn btn-success' onclick='authen()'>Authenticate...</button>")
else
authen()