blob: 7ed9712474ecae6698f7afc8f32d47888860109a [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<?php
2class secondFactorView {
3 public static function renderSecret($secret) {
4 for ($i = 0; $i < strlen($secret); $i++) {
5 if ($i != 0 && $i % 4 == 0) echo " ";
6 echo $secret[$i];
7 }
8 }
9}