Skip to content

Commit 0ab012b

Browse files
committed
remove warning about default external qr code provider in README.md
In version 3.0, the qrcode provider must be explicitely set, so the warning is not needed anymore. Also rewrite the part about the curl library for php.
1 parent ec82d39 commit 0ab012b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,16 @@ PHP library for [two-factor (or multi-factor) authentication](http://en.wikipedi
88
<img src="https://raw.githubusercontent.com/RobThree/TwoFactorAuth/master/multifactorauthforeveryone.png">
99
</p>
1010

11-
## Warning:
12-
13-
By default, this package uses the `lib/Providers/QRServerProvider.php` as QR code generator. This provider is __not__ suggested for applications where absolute security is needed, because it uses an external service for the QR code generation.
14-
15-
16-
You can make use of the included [Endroid](https://robthree.github.io/TwoFactorAuth/qr-codes/endroid.html) or [Bacon](https://robthree.github.io/TwoFactorAuth/qr-codes/bacon.html) providers which generate locally.
17-
1811
## Requirements
1912

2013
* Requires PHP version >=8.2
21-
* [cURL](http://php.net/manual/en/book.curl.php) when using the provided `QRServerProvider` (default), `ImageChartsQRCodeProvider` or `QRicketProvider` but you can also provide your own QR-code provider.
2214

2315
Optionally, you may need:
2416

2517
* [sockets](https://www.php.net/manual/en/book.sockets.php) if you are using `NTPTimeProvider`
2618
* [endroid/qr-code](https://github.com/endroid/qr-code) if using `EndroidQrCodeProvider` or `EndroidQrCodeWithLogoProvider`.
2719
* [bacon/bacon-qr-code](https://github.com/Bacon/BaconQrCode) if using `BaconQrCodeProvider`.
20+
* [php-curl library](http://php.net/manual/en/book.curl.php) when using an external QR Code provider such as `QRServerProvider`, `ImageChartsQRCodeProvider`, `QRicketProvider` or any other custom provider connecting to an external service.
2821

2922
## Installation
3023

0 commit comments

Comments
 (0)