commit | be50d49a1de3579494650ceb3cad0f04719b087f | [log] [tgz] |
---|---|---|
author | Copybara bot <copybara-bot@avm99963.com> | Thu Nov 30 00:16:42 2023 +0100 |
committer | Copybara bot <copybara-bot@avm99963.com> | Thu Nov 30 00:28:27 2023 +0100 |
tree | ae339ad03f9d5f6ea245ddf4b41550503c0a56be |
Project import generated by Copybara. GitOrigin-RevId: 63746295f1a5ab5a619056791995793d65529e62
diff --git a/src/inc/secondFactorView.php b/src/inc/secondFactorView.php new file mode 100644 index 0000000..7ed9712 --- /dev/null +++ b/src/inc/secondFactorView.php
@@ -0,0 +1,9 @@ +<?php +class secondFactorView { + public static function renderSecret($secret) { + for ($i = 0; $i < strlen($secret); $i++) { + if ($i != 0 && $i % 4 == 0) echo " "; + echo $secret[$i]; + } + } +}