merge: branch 'master' into production

This commit is contained in:
Paul Makles
2022-09-08 17:22:00 +01:00
2 changed files with 6 additions and 2 deletions

2
external/lang vendored

View File

@@ -100,7 +100,11 @@ export default function MultiFactorAuthentication() {
// Decide whether to disable or enable. // Decide whether to disable or enable.
if (mfa!.totp_mfa) { if (mfa!.totp_mfa) {
// Disable TOTP authentication // Disable TOTP authentication
await client.api.delete("/auth/mfa/totp", toConfig(ticket.token)); await client.api.delete(
"/auth/mfa/totp",
{},
toConfig(ticket.token),
);
setMFA({ setMFA({
...mfa!, ...mfa!,