Prevent double-clicks on SSO login providers (#5842)

This commit is contained in:
Kian Cross
2026-01-26 07:31:30 +00:00
committed by GitHub
parent a53795ea88
commit a0dae48cec
2 changed files with 6 additions and 1 deletions

View File

@@ -731,6 +731,11 @@ $(function () {
$(countInput).trigger("change");
});
});
$("#customer-account-login-providers a").click(function () {
// Prevent double-submit, see also https://github.com/pretix/pretix/issues/5836
$(this).addClass("disabled");
});
});
function copy_answers(elements, answers) {