Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-plugins
Commits
727535a4
Unverified
Commit
727535a4
authored
3 years ago
by
Côme Chilliet
Browse files
Options
Download
Patches
Plain Diff
fix(webauthn) Fix WebAuthn namespace
upstream changed namespace issue
#6134
parent
cc25d15c
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webauthn/personal/webauthn/class_webauthnAccount.inc
+3
-2
webauthn/personal/webauthn/class_webauthnAccount.inc
with
3 additions
and
2 deletions
+3
-2
webauthn/personal/webauthn/class_webauthnAccount.inc
+
3
−
2
View file @
727535a4
...
@@ -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
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets