Skip to content

Commit

Permalink
Add missing SSO options to config (#1455)
Browse files Browse the repository at this point in the history
* Add missing SSO options to config
  • Loading branch information
ShahanaFarooqui authored Nov 5, 2024
1 parent fc9150f commit 209f559
Show file tree
Hide file tree
Showing 5 changed files with 3,611 additions and 3,874 deletions.
3 changes: 2 additions & 1 deletion backend/utils/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ export class CommonService {
}
});
};
this.readCookie = () => {
this.readCookie = (config) => {
this.appConfig.SSO = config.SSO;
const exists = fs.existsSync(this.appConfig.SSO.rtlCookiePath);
if (exists) {
try {
Expand Down
2 changes: 1 addition & 1 deletion backend/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export class ConfigService {
this.errMsg = 'Please set rtlCookiePath value for single sign on option!';
}
else {
this.common.readCookie();
this.common.readCookie(config);
}
}
};
Expand Down
Loading

0 comments on commit 209f559

Please sign in to comment.