-
- GetQR("{$settings['title']} ({$name})", $tfa_secret);
- } else {
- $tfa_secret = $tfa->createSecret();
- $qrcode = $tfa->GetQR("{$settings['title']} ({$name})", $tfa_secret);
- }
- ?>
-
-
-
= lang("App.profile_qrcode") ?>
-

-
-
-
= lang("App.profile_backup_code") ?>
- ' . $item . '';
- }
- } else {
- $codes = array();
- for ($i = 1; $i <= 8; $i++) {
- $code = random_string('numeric', 6);
- $codes[] = $code;
- echo '
' . $code . '';
- }
- }
- ?>
-
= lang("App.profile_tfa_secret") ?>
= $tfa_secret ?>
-
-
-
-
-
-
-