account recovery and inital status stuff

This commit is contained in:
MathMan05
2025-04-03 14:14:37 -05:00
parent 4b087cb98b
commit acbce08e49
11 changed files with 370 additions and 92 deletions

View File

@@ -614,7 +614,7 @@ const checkInstance = Object.assign(
verify!.textContent = I18n.getTranslation("login.allGood");
loginButton.disabled = false;
if (checkInstance.alt) {
checkInstance.alt();
checkInstance.alt(instanceinfo);
}
setTimeout((_: any) => {
console.log(verify!.textContent);
@@ -630,7 +630,16 @@ const checkInstance = Object.assign(
loginButton.disabled = true;
}
},
{} as {alt?: Function},
{} as {
alt?: (e: {
wellknown: string;
api: string;
cdn: string;
gateway: string;
login: string;
value: string;
}) => void;
},
);
export {checkInstance};
export function getInstances() {