blob: 7ed9712474ecae6698f7afc8f32d47888860109a [file] [log] [blame]
<?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];
}
}
}