Unverified Commit 727535a4 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(webauthn) Fix WebAuthn namespace

upstream changed namespace

issue #6134
parent cc25d15c
No related merge requests found
Showing with 3 additions and 2 deletions
+3 -2
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
require_once('WebAuthn/WebAuthn.php'); require_once('lbuchs/WebAuthn/WebAuthn.php');
use lbuchs\WebAuthn;
class webauthnAccount extends simplePlugin class webauthnAccount extends simplePlugin
{ {
...@@ -108,7 +109,7 @@ class webauthnAccount extends simplePlugin ...@@ -108,7 +109,7 @@ class webauthnAccount extends simplePlugin
} else { } else {
$host = $_SERVER['SERVER_NAME']; $host = $_SERVER['SERVER_NAME'];
} }
$WebAuthn = new \WebAuthn\WebAuthn('FusionDirectory', $host, $formats); $WebAuthn = new WebAuthn\WebAuthn('FusionDirectory', $host, $formats);
return $WebAuthn; return $WebAuthn;
} }
......
Supports Markdown
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