mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-05 15:57:23 +01:00
Update OpenApi docs, rename /2fa/ => /mfa/
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
reset_view();
|
||||
|
||||
api(
|
||||
'/2fa/status',
|
||||
'/mfa/status',
|
||||
'GET',
|
||||
{},
|
||||
function(res) {
|
||||
@@ -170,7 +170,7 @@
|
||||
hide_error();
|
||||
|
||||
api(
|
||||
'/2fa/totp/disable',
|
||||
'/mfa/totp/disable',
|
||||
'POST',
|
||||
{},
|
||||
function() { show_two_factor_auth(); }
|
||||
@@ -184,7 +184,7 @@
|
||||
hide_error();
|
||||
|
||||
api(
|
||||
'/2fa/totp/enable',
|
||||
'/mfa/totp/enable',
|
||||
'POST',
|
||||
{
|
||||
token: $(el.totpSetupToken).val(),
|
||||
|
||||
Reference in New Issue
Block a user