Merge pull request #122 from clems4ever/disable-autocomplete

Disable autocomplete for TOTP field
This commit is contained in:
Clément Michaud 2017-10-07 23:44:33 +02:00 committed by GitHub
commit 15374f39d1

View File

@ -8,7 +8,7 @@ block content
<div class="notification notification-totp"></div>
<form class="form-signin totp">
<div class="form-inputs">
<input type="text" class="form-control" id="token" placeholder="Token" required autofocus>
<input type="text" autocomplete="off" class="form-control" id="token" placeholder="Token" required autofocus>
</div>
<button class="btn btn-lg btn-primary btn-block totp-button" type="submit">TOTP</button>
a(href=totp_identity_start_endpoint, class="pull-right link register-totp") Need to register?