blob: de569b960c45c1fafe097e86609273efcce785c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import { client } from "../client";
function handleCredentialResponse(response: any) {
console.log(response);
client.sender.sendServer(`2T#${response.credential}#%`);
}
window.handleCredentialResponse = handleCredentialResponse;
export function showFactorDialog(args: string[]) {
document.getElementById("client_secondfactor").style.display = args[1];
}
|