Skip to content

Commit

Permalink
Removed definition of empty users object
Browse files Browse the repository at this point in the history
This is not needed anymore

Co-authored-by: Siyavash Habashi <[email protected]>
  • Loading branch information
jopicornell and janjaali authored Nov 24, 2024
1 parent 5717a56 commit 0159c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/Server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const mailHandler = new MailHandler(process.env.MAIL_HISTORY_DURATION);

const apiAuthentication = process.env.AUTHENTICATION
? { enabled: true, users: authenticationUsers(process.env.AUTHENTICATION) }
: { enabled: false, users: {} };
: { enabled: false };

const rateLimitConfiguration = {
enabled: process.env.RATE_LIMIT_ENABLED === 'true',
Expand Down

0 comments on commit 0159c67

Please sign in to comment.