|
|
@ -54,7 +54,9 @@ class Auth_Internal extends Plugin implements IAuthModule {
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<?php echo stylesheet_tag("css/default.css") ?>
|
|
|
|
<?php echo stylesheet_tag("css/default.css") ?>
|
|
|
|
<body class="ttrss_utility otp"><div class="content">
|
|
|
|
<body class="ttrss_utility otp">
|
|
|
|
|
|
|
|
<h1><?php echo __("Authentication") ?></h1>
|
|
|
|
|
|
|
|
<div class="content">
|
|
|
|
<form action="public.php?return=<?php echo $return ?>"
|
|
|
|
<form action="public.php?return=<?php echo $return ?>"
|
|
|
|
method="POST" class="otpform">
|
|
|
|
method="POST" class="otpform">
|
|
|
|
<input type="hidden" name="op" value="login">
|
|
|
|
<input type="hidden" name="op" value="login">
|
|
|
@ -64,9 +66,11 @@ class Auth_Internal extends Plugin implements IAuthModule {
|
|
|
|
<input type="hidden" name="remember_me" value="<?php echo htmlspecialchars($_POST["remember_me"]) ?>">
|
|
|
|
<input type="hidden" name="remember_me" value="<?php echo htmlspecialchars($_POST["remember_me"]) ?>">
|
|
|
|
<input type="hidden" name="profile" value="<?php echo htmlspecialchars($_POST["profile"]) ?>">
|
|
|
|
<input type="hidden" name="profile" value="<?php echo htmlspecialchars($_POST["profile"]) ?>">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
<label><?php echo __("Please enter your one time password:") ?></label>
|
|
|
|
<label><?php echo __("Please enter your one time password:") ?></label>
|
|
|
|
<input autocomplete="off" size="6" name="otp" value=""/>
|
|
|
|
<input autocomplete="off" size="6" name="otp" value=""/>
|
|
|
|
<input type="submit" value="Continue"/>
|
|
|
|
<input type="submit" value="Continue"/>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form></div>
|
|
|
|
</form></div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
document.forms[0].otp.focus();
|
|
|
|
document.forms[0].otp.focus();
|
|
|
|