diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index c77857c388..faed929db0 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -247,8 +247,7 @@ $sendMFAAlert = function (Document $project, Document $user, Locale $locale, Mai 'owner' => $user->getAttribute('name'), 'direction' => $locale->getText('settings.direction'), 'user' => $user->getAttribute('name'), - 'project' => $project->getAttribute('name'), - 'redirect' => $redirect + 'project' => $project->getAttribute('name') ]; $queueForMails