1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Made the TOTP URL visible during setup

Useful for some non-scanner type apps.
Closes #2908
This commit is contained in:
Dan Brown
2021-09-01 20:58:19 +01:00
parent ff494be952
commit 7028025380
4 changed files with 9 additions and 3 deletions

View File

@ -35,8 +35,8 @@ class MfaTotpController extends Controller
$svg = $totp->generateQrCodeSvg($qrCodeUrl);
return view('mfa.totp-generate', [
'secret' => $totpSecret,
'svg' => $svg,
'url' => $qrCodeUrl,
'svg' => $svg,
]);
}