Skip to content

Commit

Permalink
👕 Fix linting problem
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoE105 committed Nov 21, 2022
1 parent e7ae0d7 commit 1f77b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/UserManagement/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function authenticationMethods(this: N8nApp): void {

// currently only LDAP users during syncronization
// can be set to disabled
if (user.disabled === true) {
if (user.disabled) {
res.clearCookie(AUTH_COOKIE_NAME);
const error = new Error('User disabled cannot log in');
// @ts-ignore
Expand Down

0 comments on commit 1f77b4e

Please sign in to comment.