Использование базового TOTP через мобильное приложение вместо существующей реализации второго пароля на javascript.

This commit is contained in:
2024-05-09 19:19:14 +03:00
parent 85b74015b7
commit 244e081014
7 changed files with 260 additions and 494 deletions

View File

@@ -6,11 +6,6 @@ if (!defined('GAME_VERSION')) {
require_once '_incl_data/autoload.php';
}
if (isset($_GET['time'])) {
echo time() . '<br>' . date('d.m.Y H:i:s', (int)$_GET['time']);
die();
}
header("Cache-Control: max-age=3600");
?>
<!DOCTYPE html>
@@ -30,6 +25,7 @@ header("Cache-Control: max-age=3600");
flex-direction: column;
margin-top: 50px;
}
hr.incontent {
width: 32%;
border: 1px #1c1c1c solid;
@@ -43,7 +39,7 @@ header("Cache-Control: max-age=3600");
<label for="first-name">Ваш Никнейм</label><br>
<input type="text" id="first-name" name="login" autocomplete="username"><br>
<label for="last-name">Ваш Пароль</label><br>
<input type="password" id="last-name" name="psw" autocomplete="current-password">
<input type="password" id="last-name" name="password" autocomplete="current-password">
<p>
<input type="submit" value="Войти в игру" class="btn btn-default">
</form>