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:
parent
88ad78373d
commit
41271bc153
4 changed files with 7 additions and 0 deletions
|
@ -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,
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue