mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-21 16:11:48 +00:00
use strict comparison
This commit is contained in:
@@ -66,7 +66,7 @@ class BaconQrCodeProvider implements IQRCodeProvider
|
||||
|
||||
$output = $this->getQRCodeByBackend($qrtext, $size, $backend);
|
||||
|
||||
if ($this->format == 'svg') {
|
||||
if ($this->format === 'svg') {
|
||||
$svg = explode("\n", $output);
|
||||
return $svg[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user