diff --git a/phpmyfaq/src/phpMyFAQ/User/TwoFactor.php b/phpmyfaq/src/phpMyFAQ/User/TwoFactor.php index 1ba46eac81..6b984062bd 100644 --- a/phpmyfaq/src/phpMyFAQ/User/TwoFactor.php +++ b/phpmyfaq/src/phpMyFAQ/User/TwoFactor.php @@ -43,11 +43,11 @@ public function __construct(private Configuration $configuration) { $this->qrCodeProvider = new EndroidQrCodeProvider(); $this->twoFactorAuth = new TwoFactorAuth( + $this->qrCodeProvider, $this->configuration->get('main.metaPublisher'), 6, 30, - Algorithm::Sha1, - $this->qrCodeProvider + Algorithm::Sha1 ); }