1
0
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:
Felix Spöttel
2020-09-03 13:48:03 +02:00
parent ce70f44c58
commit 89b301afc7
3 changed files with 134 additions and 7 deletions

View File

@@ -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(),