mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-11-08 04:31:03 +00:00
merge: branch 'master' into production
This commit is contained in:
commit
263d97853a
2 files changed
+6
-2
No files matched your search
Vendored
+1
-1
Submodule external/lang updated: bb3470b838...7440384751.
@@ -100,7 +100,11 @@ export default function MultiFactorAuthentication() {
|
||||
// Decide whether to disable or enable.
|
||||
if (mfa!.totp_mfa) {
|
||||
// Disable TOTP authentication
|
||||
await client.api.delete("/auth/mfa/totp", toConfig(ticket.token));
|
||||
await client.api.delete(
|
||||
"/auth/mfa/totp",
|
||||
{},
|
||||
toConfig(ticket.token),
|
||||
);
|
||||
|
||||
setMFA({
|
||||
...mfa!,
|
||||
|
||||
Reference in new issue
Block a user