Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagobustamante committed Mar 22, 2019
2 parents d831026 + 8d288f7 commit c77f1f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pipeline/authentication/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ export class ApiAuth {
private sortMiddlewares(middlewares: Array<ApiAuthenticationConfig>, path: string): Array<ApiAuthenticationConfig> {
const generalMiddlewares = _.filter(middlewares, (value) => {
if (value.group) {
return true;
return false;
}
return false;
return true;
});

if (generalMiddlewares.length > 1) {
Expand Down

0 comments on commit c77f1f0

Please sign in to comment.