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

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