Skip to content

Commit

Permalink
Merge branch '5.0' into 5
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed May 4, 2023
2 parents 695df4e + 6d4e412 commit a8c9436
Show file tree
Hide file tree
Showing 10 changed files with 533 additions and 1,061 deletions.
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,11 @@ By default, we expect that this module would be used with multi-platform authent
authenticators such as fingerprint scanners. More information on this can be found in the
[developer documentation](docs/en/readme.md).

## Requirements

* Silverstripe ^4.1
* silverstripe/mfa ^4.0
* PHP GMP extension
* [Yarn](https://yarnpkg.com/lang/en/), [NodeJS](https://nodejs.org/en/) (>=10) and [npm](https://npmjs.com) (for building
frontend assets)

## Installation

Install with Composer:

```sh
composer require silverstripe/webauthn-authenticator
```
composer require silverstripe/webauthn-authenticator ^4.0
```

For Silverstripe 3.7 support please use `silverstripe/webauthn-authenticator ^3.0`.

The WebAuthn authenticator module automatically configures itself when installed.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/src/components/WebAuthn/Verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Verify.propTypes = {
method: PropTypes.object.isRequired,
publicKey: publicKeyType,
onCompleteVerification: PropTypes.func.isRequired,
moreOptionsControl: PropTypes.func,
moreOptionsControl: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),
errors: PropTypes.arrayOf(PropTypes.string),
};

Expand Down
Loading

0 comments on commit a8c9436

Please sign in to comment.