mirror of
https://github.com/1f349/tulip.git
synced 2024-12-23 00:34:07 +00:00
Try to disable autocomplete on OTP field
This commit is contained in:
parent
4c0a266fb1
commit
68237dfc42
@ -8,11 +8,11 @@
|
|||||||
<h1>{{.ServiceName}}</h1>
|
<h1>{{.ServiceName}}</h1>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<form method="POST" action="/login/otp">
|
<form method="POST" action="/login/otp" autocomplete="off">
|
||||||
<input type="hidden" name="redirect" value="{{.Redirect}}"/>
|
<input type="hidden" name="redirect" value="{{.Redirect}}"/>
|
||||||
<div>
|
<div>
|
||||||
<label for="field_code">OTP Code:</label>
|
<label for="field_code">OTP Code:</label>
|
||||||
<input type="text" name="code" id="field_code" required pattern="[0-9]{6,8}" title="6/7/8 digit one time passcode"/>
|
<input type="text" name="code" id="field_code" required pattern="[0-9]{6,8}" title="6/7/8 digit one time passcode" autocomplete="off" aria-autocomplete="none" role="presentation"/>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit">Login</button>
|
<button type="submit">Login</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user