implement g-tix's fix

master
Aevann 2023-02-18 21:41:36 +02:00
parent e6c4b7d91f
commit acdec1272d
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
<input hidden name="time" value="{{time}}">
<input hidden name="hash" value="{{hash}}">
<label for="2fa_token" class="mt-3">Your verification code</label>
<input autocomplete="off" class="form-control" id="2fa_token" name="2fa_token" type="text" placeholder="6-digit code">
<input autocomplete="off" class="form-control" id="2fa_token" name="2fa_token" type="number" pattern="[0-9]" inputmode="numeric" placeholder="6-digit code">
<small><a href="/lost_2fa">Lost your 2FA device?</a></small>
<button type="submit" class="btn btn-primary login w-100 mt-3" id="login_button">Sign in</button>
</form>