From d0c00061fc08aa27016de1d56908a802bb6f8449 Mon Sep 17 00:00:00 2001 From: Robert Gingras Date: Fri, 23 Jan 2026 09:00:45 -0500 Subject: [PATCH] Change MFA action check from 'APPROVE' to 'approve' --- server/backends/notification.auth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/backends/notification.auth.js b/server/backends/notification.auth.js index 92d162d..0737ba7 100644 --- a/server/backends/notification.auth.js +++ b/server/backends/notification.auth.js @@ -25,7 +25,7 @@ class NotificationAuthProvider extends AuthProvider { const response = await NotificationService.sendAuthenticationNotification(username); - if (response.action === "APPROVE") { + if (response.action === "approve") { logger.debug(`[NotificationAuthProvider] MFA approved for ${username}`); return true; } else { @@ -50,4 +50,4 @@ module.exports = { name: 'notification', type: 'auth', provider: NotificationAuthProvider, -}; \ No newline at end of file +};