Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
lelemm committed Feb 21, 2025
1 parent 670d1b9 commit a661a8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sync-server/src/config-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export interface Config {
client_secret: string;
server_hostname: string;
authMethod?: 'openid' | 'oauth2';
enforceOpenId?: boolean;
};
multiuser: boolean;
token_expiration?: 'never' | 'openid-provider' | number;
enforceOpenId: boolean;
}
1 change: 1 addition & 0 deletions packages/sync-server/src/load-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const defaultConfig = {
projectRoot,
multiuser: false,
token_expiration: 'never',
enforceOpenId: false,
};

/** @type {import('./config-types.js').Config} */
Expand Down

0 comments on commit a661a8b

Please sign in to comment.