From 0e0a4d9fa2e4d292cd7f183dcf47a6156ff64102 Mon Sep 17 00:00:00 2001 From: Jan <96944229+modelrailroader@users.noreply.github.com> Date: Tue, 28 May 2024 15:42:32 +0200 Subject: [PATCH] fix: changed argument order due to #2967 --- phpmyfaq/src/phpMyFAQ/User/TwoFactor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); }