diff --git a/pool/page_2fa.php b/pool/page_2fa.php index 6687846d..1e86e24d 100644 --- a/pool/page_2fa.php +++ b/pool/page_2fa.php @@ -11,6 +11,15 @@ function app_txt($ones) return $app; } # +function app_time() +{ + $app = "Apps to check that your device time is accurate:
"; + $app .= ""; + $app .= "Android: Google Play 'ClockSync' by Sergey Baranov
"; + $app .= "

"; + return $app; +} +# function set_2fa($data, $user, $tfa, $ans, $err, $msg) { $draw = false; @@ -121,6 +130,7 @@ function set_2fa($data, $user, $tfa, $ans, $err, $msg) $pg .= 'that you type into the "*2nd Authentication:" field on any page that has it.

'; $pg .= 'IMPORTANT: the TOTP algorithm uses the time on your device,
'; $pg .= "so it is important that your device's clock is accurate within a few seconds.

"; + $pg .= app_time(); $pg .= 'IMPORTANT: you enter the value from your App at the time you submit data.
'; $pg .= "The value is valid only once for a maximum of 30 seconds.
"; $pg .= "In both the Apps it has a 'dial' that shows the 30 seconds running out.
";