This commit is contained in:
Mathium05
2026-10-01 19:42:34 -05:00
parent 4c71213416
commit 77f9013074
+1
View File
@@ -1988,6 +1988,7 @@ async function handle2fa(json: any, api: string): Promise<false | any> {
if (json.ticket) {
return new Promise<boolean>(async (resolution) => {
const better = new Dialog("");
better.onhide = () => resolution(false);
const buttons = better.options.addButtons("", {top: true, titles: false});
if (json.webauthn) {
const opt = buttons.add(I18n.mfa.webauthn());