Skip to content

Commit 919bb99

Browse files
committed
Revert "update simplewebauthn to 13.3.0"
This reverts commit ee5e180.
1 parent 959422a commit 919bb99

5 files changed

Lines changed: 22 additions & 20 deletions

File tree

modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
function verifyWebAuthn() {
1313
document.getElementById('instructions').textContent = '{{ '{mfa:webauthn_instructions}'|trans|e('js') }}';
1414
const loginChallenge = {{ mfa_option_data|raw }};
15-
SimpleWebAuthnBrowser.startAuthentication({optionsJSON: loginChallenge.publicKey}).then(submitForm).catch(handleError);
15+
SimpleWebAuthnBrowser.startAuthentication(loginChallenge.publicKey).then(submitForm).catch(handleError);
1616
}
1717
1818
function handleError(error) {

modules/mfa/public/simplewebauthn/LICENSE.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,20 @@ MIT License
22

33
Copyright (c) 2020 Matthew Miller
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
6-
associated documentation files (the "Software"), to deal in the Software without restriction,
7-
including without limitation the rights to use, copy, modify, merge, publish, distribute,
8-
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
910
furnished to do so, subject to the following conditions:
1011

11-
The above copyright notice and this permission notice shall be included in all copies or substantial
12-
portions of the Software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1314

14-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
15-
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
17-
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

modules/mfa/public/simplewebauthn/browser.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ssp-base",
33
"dependencies": {
4-
"@simplewebauthn/browser": "^13.3.0"
4+
"@simplewebauthn/browser": "^4.1.0"
55
}
66
}

0 commit comments

Comments
 (0)