Two factor authentication : TOTP #5

Merged
pierre merged 22 commits from twofactors into master 2022-04-20 07:40:51 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 958f6eaabf - Show all commits

View File

@ -4,7 +4,7 @@
<div>
<div class="form-floating">
<input name="login" type="text" required class="form-control" id="floatingName" placeholder="unsername"
value="{{ login }}">
value="{{ login }}" autofocus>
<label for="floatingName">Email address or username</label>
</div>

View File

@ -8,7 +8,7 @@
<div class="form-group">
<label for="code" class="form-label mt-4">Generated code</label>
<input type="text" name="code" minlength="6" maxlength="6" class="form-control" id="code"
placeholder="XXXXXX">
placeholder="XXXXXX" autofocus>
</div>
<button class="w-100 btn btn-primary" type="submit" style="margin: 20px 0px;">Login</button>

View File

@ -8,7 +8,7 @@
<div class="form-floating">
<input name="password" type="password" required class="form-control" id="pass1"
placeholder="Password"/>
placeholder="Password" autofocus/>
<label for="pass1">New password</label>
</div>