Skip to content

Commit

Permalink
fix: Use proper config path for orgLevelConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jrassa committed Apr 5, 2024
1 parent ba11416 commit 5c525c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/user/user-auth.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const requiresExternalRoles = (req) => {
* Checks whether user has defined organization level values if values are required
*/
export const requiresOrganizationLevels = (req) => {
const required = config.get('orgLevelConfig.required');
const required = config.get('auth.orgLevelConfig.required');

if (!required) {
// Organization levels are not required, proceed
Expand Down

0 comments on commit 5c525c9

Please sign in to comment.