* Actually use $qrcodeprovider parameter from constructor

* Use array_flip instead of for-loop
* Also tested on PHP 5.3
* Demo page is now some 'actual' HTML and text cleaned up a little
This commit is contained in:
RobThree
2014-09-19 01:24:52 +02:00
parent 56dcfc48e2
commit 70c3a190b7
3 changed files with 28 additions and 25 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ PHP class for two-factor authorization using [TOTP](http://en.wikipedia.org/wiki
## Requirements
* Tested on PHP5.4
* Tested on PHP 5.3 and 5.4
* [cURL](http://php.net/manual/en/book.curl.php) when using the default `GoogleQRCodeProvider` but you can provide your own QR-code provider.