Использование базового TOTP через мобильное приложение вместо существующей реализации второго пароля на javascript.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user