silence php8 warnings in otp secondary login form

This commit is contained in:
Andrew Dolgov 2021-02-26 14:25:40 +03:00
parent e6a875b7e4
commit 167c9fc34e
1 changed files with 4 additions and 3 deletions

View File

@ -72,9 +72,10 @@ class Auth_Internal extends Auth_Base {
<input type="hidden" name="op" value="login">
<input type="hidden" name="login" value="<?= htmlspecialchars($login) ?>">
<input type="hidden" name="password" value="<?= htmlspecialchars($password) ?>">
<input type="hidden" name="bw_limit" value="<?= htmlspecialchars($_POST["bw_limit"]) ?>">
<input type="hidden" name="remember_me" value="<?= htmlspecialchars($_POST["remember_me"]) ?>">
<input type="hidden" name="profile" value="<?= htmlspecialchars($_POST["profile"]) ?>">
<input type="hidden" name="bw_limit" value="<?= htmlspecialchars($_POST["bw_limit"] ?? "") ?>">
<input type="hidden" name="safe_mode" value="<?= htmlspecialchars($_POST["safe_mode"] ?? "") ?>">
<input type="hidden" name="remember_me" value="<?= htmlspecialchars($_POST["remember_me"] ?? "") ?>">
<input type="hidden" name="profile" value="<?= htmlspecialchars($_POST["profile"] ?? "") ?>">
<fieldset>
<label><?= __("Please enter your one time password:") ?></label>