mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Allow to re-auth by using the U2F token
This commit is contained in:
@@ -104,6 +104,9 @@
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
}
|
||||
.sr-only.alert::before {
|
||||
background: none !important;
|
||||
}
|
||||
.alert-success::before {
|
||||
background: $state-success-border;
|
||||
content: "\f00c";
|
||||
|
||||
@@ -31,7 +31,7 @@ $(function () {
|
||||
if (data.errorCode && data.errorCode != 5) {
|
||||
$("#u2f-error").removeClass("sr-only");
|
||||
} else {
|
||||
$('#u2f-response').val(JSON.stringify(data));
|
||||
$('#u2f-response, #id_password').val(JSON.stringify(data));
|
||||
$('#u2f-form').submit();
|
||||
}
|
||||
}, 300);
|
||||
|
||||
Reference in New Issue
Block a user