aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/twofactor.ts
blob: 145a00e9493fdb46374c9689ff08174a1312d4f0 (plain)
1
2
3
4
5
6
import { client } from "../client";

function handleCredentialResponse(response: any) {
    client.sender.sendServer(`2T#${response.credential}#%`);
  }
window.handleCredentialResponse = handleCredentialResponse;