mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-31 04:27:05 +00:00
b964b2abbf
it's already bad to use an external provider, let's use the safest defaults at least
21 lines
781 B
Markdown
21 lines
781 B
Markdown
---
|
|
layout: post
|
|
title: QR Server
|
|
---
|
|
|
|
## Optional Configuration
|
|
|
|
Argument | Default value
|
|
------------------------|---------------
|
|
`$verifyssl` | `true`
|
|
`$errorcorrectionlevel` | `'L'`
|
|
`$margin` | `4`
|
|
`$qzone` | `1`
|
|
`$bgcolor` | `'ffffff'`
|
|
`$color` | `'000000'`
|
|
`$format` | `'png'`
|
|
|
|
`$verifyssl` is used internally to help guarantee the security of the connection. It is possible that where you are running the code from will have problems verifying an SSL connection so if you know this is not the case, you can supply `true`.
|
|
|
|
The other parameters are passed to [goqr.me](http://goqr.me/api/doc/create-qr-code/) so you can refer to them for more detail on how the values are used.
|