mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
WebAuthN: Replace sr-only with hidden css-class
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<input class="form-control" name="token" placeholder="{% trans "Token" %}" autocomplete="one-time-code"
|
||||
type="text" required="required" autofocus="autofocus" id="webauthn-response">
|
||||
</div>
|
||||
<div class="sr-only alert alert-danger" id="webauthn-error">
|
||||
<div class="alert alert-danger hidden" id="webauthn-error">
|
||||
{% trans "WebAuthn failed. Check that the correct authentication device is correctly plugged in." %}
|
||||
</div>
|
||||
{% if jsondata %}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<button class="btn btn-primary sr-only" type="submit"></button>
|
||||
</form>
|
||||
|
||||
<div class="sr-only alert alert-danger" id="webauthn-error">
|
||||
<div class="alert alert-danger hidden" id="webauthn-error">
|
||||
{% trans "Device registration failed." %}
|
||||
</div>
|
||||
<script type="text/json" id="webauthn-enroll">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<input class="form-control" id="webauthn-response" name="webauthn"
|
||||
type="hidden">
|
||||
{% if jsondata %}
|
||||
<div class="sr-only alert alert-danger" id="webauthn-error">
|
||||
<div class="alert alert-danger hidden" id="webauthn-error">
|
||||
{% trans "WebAuthn failed. Check that the correct authentication device is correctly plugged in." %}
|
||||
</div>
|
||||
<p><small>
|
||||
|
||||
Reference in New Issue
Block a user