Skip to content

Commit

Permalink
fix simplewebauthn/browser.js path
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jun 11, 2024
1 parent f4c0934 commit e983c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mfa/www/prompt-for-mfa.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
$t->data['stateId'] = $stateId;
$t->data['supportsWebAuthn'] = LoginBrowser::supportsWebAuthn($userAgent);
$browserJsHash = md5_file(__DIR__ . '/simplewebauthn/browser.js');
$t->data['browserJsPath'] = 'simplewebauthn/browser.js?v=' . $browserJsHash;
$t->data['browserJsPath'] = '/module.php/mfa/simplewebauthn/browser.js?v=' . $browserJsHash;
$t->data['managerEmail'] = $state['managerEmail'];
$t->data['otherOptions'] = $otherOptions;
$t->show();
Expand Down

0 comments on commit e983c4c

Please sign in to comment.