Skip to content

Commit

Permalink
Remove erroneous newline
Browse files Browse the repository at this point in the history
  • Loading branch information
dividehex committed May 29, 2024
1 parent fcc377d commit 6a6d645
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rules/Global-Function-Declarations.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a6d645

Please sign in to comment.