Skip to content

Commit

Permalink
Merge pull request #662 from webitel/feature/add-enable-2fa-param-in-…
Browse files Browse the repository at this point in the history
…configuration

feature: add enable-2fa param in configuration page[WTEL-4431]
  • Loading branch information
Lera24 authored May 10, 2024
2 parents 25f12a2 + f184ea1 commit a77f9f3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"vue-router": "^4.2.5",
"vue2-dropzone": "^3.6.0",
"vuex": "^4.1.0",
"webitel-sdk": "^24.2.9"
"webitel-sdk": "^24.2.12"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,15 @@ export default {
case EngineSystemSettingName.AmdCancelNotHuman: {
return defaultBooleanConfig;
}
case EngineSystemSettingName.Enable2fa: {
return defaultBooleanConfig;
}
case EngineSystemSettingName.MemberChunkSize: {
return defaultNumberConfig;
}
case EngineSystemSettingName.SchemeVersionLimit: {
return defaultNumberConfig;
}
default: {
return {};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { EngineSystemSettingName } from 'webitel-sdk';
const ConfigurationValueTypes = Object.freeze({
[EngineSystemSettingName.EnableOmnichannel]: 'boolean',
[EngineSystemSettingName.AmdCancelNotHuman]: 'boolean',
[EngineSystemSettingName.Enable2fa]: 'boolean',
[EngineSystemSettingName.MemberChunkSize]: 'number',
[EngineSystemSettingName.SchemeVersionLimit]: 'number',
},
);

Expand Down

0 comments on commit a77f9f3

Please sign in to comment.