From 6a6d645fc9ee49d433e35fe8a3cf57c094a9b2e6 Mon Sep 17 00:00:00 2001 From: Jake Watkins Date: Wed, 29 May 2024 15:34:46 -0400 Subject: [PATCH] Remove erroneous newline --- rules/Global-Function-Declarations.js | 1 - 1 file changed, 1 deletion(-) diff --git a/rules/Global-Function-Declarations.js b/rules/Global-Function-Declarations.js index 9bc0af7..1f247b2 100644 --- a/rules/Global-Function-Declarations.js +++ b/rules/Global-Function-Declarations.js @@ -4,7 +4,6 @@ function globalFunctionDeclaration(user, context, callback) { // with a NON RECOVERABLE error, and thus LOGIN WILL FAIL FOR USERS // Since we do not use the /continue endpoint let's make sure we explictly fail with an UnauthorizedError - // otherwise it is possible to continue the session even after a postError redirect is set. if (context.protocol === "redirect-callback") { return callback(new UnauthorizedError('The /continue endpoint is not allowed'), user, context);