feat: support forced binding MFA after login (#1845)

This commit is contained in:
Yaodong Yu
2023-05-17 01:13:13 +08:00
committed by GitHub
parent 0b5ecca5c8
commit 9092cad631
10 changed files with 293 additions and 40 deletions

View File

@ -15,7 +15,7 @@
import {authConfig} from "./Auth";
import * as Setting from "../Setting";
export function getAccount(query) {
export function getAccount(query = "") {
return fetch(`${authConfig.serverUrl}/api/get-account${query}`, {
method: "GET",
credentials: "include",