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 +};