1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

otp: show secret as plaintext if a user can't scan qrcode

Fixes #4818

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
Kevin Decherf 2020-12-19 12:53:29 +01:00
parent 88ad78373d
commit 41271bc153
4 changed files with 7 additions and 0 deletions

View file

@ -344,6 +344,7 @@ class ConfigController extends Controller
return $this->render('WallabagCoreBundle:Config:otp_app.html.twig', [
'backupCodes' => $backupCodes,
'qr_code' => $this->get('scheb_two_factor.security.google_authenticator')->getQRContent($user),
'secret' => $secret,
]);
}