forked from abner/for-legacy-web
merge: branch 'master' of https://github.com/revoltchat/revite
This commit is contained in:
2
external/lang
vendored
2
external/lang
vendored
Submodule external/lang updated: bb3470b838...7440384751
@@ -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!,
|
||||||
|
|||||||
Reference in New Issue
Block a user