diff --git a/frontend/src/Settings/General/SecuritySettings.js b/frontend/src/Settings/General/SecuritySettings.js
index bb20a9305..a743e953b 100644
--- a/frontend/src/Settings/General/SecuritySettings.js
+++ b/frontend/src/Settings/General/SecuritySettings.js
@@ -11,16 +11,69 @@ import ConfirmModal from 'Components/Modal/ConfirmModal';
import { icons, inputTypes, kinds } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
-const authenticationMethodOptions = [
- { key: 'none', value: 'None' },
- { key: 'basic', value: 'Basic (Browser Popup)' },
- { key: 'forms', value: 'Forms (Login Page)' }
+export const authenticationMethodOptions = [
+ {
+ key: 'none',
+ get value() {
+ return translate('None');
+ },
+ isDisabled: true
+ },
+ {
+ key: 'external',
+ get value() {
+ return translate('External');
+ },
+ isHidden: true
+ },
+ {
+ key: 'basic',
+ get value() {
+ return translate('AuthBasic');
+ }
+ },
+ {
+ key: 'forms',
+ get value() {
+ return translate('AuthForm');
+ }
+ }
+];
+
+export const authenticationRequiredOptions = [
+ {
+ key: 'enabled',
+ get value() {
+ return translate('Enabled');
+ }
+ },
+ {
+ key: 'disabledForLocalAddresses',
+ get value() {
+ return translate('DisabledForLocalAddresses');
+ }
+ }
];
const certificateValidationOptions = [
- { key: 'enabled', value: 'Enabled' },
- { key: 'disabledForLocalAddresses', value: 'Disabled for Local Addresses' },
- { key: 'disabled', value: 'Disabled' }
+ {
+ key: 'enabled',
+ get value() {
+ return translate('Enabled');
+ }
+ },
+ {
+ key: 'disabledForLocalAddresses',
+ get value() {
+ return translate('DisabledForLocalAddresses');
+ }
+ },
+ {
+ key: 'disabled',
+ get value() {
+ return translate('Disabled');
+ }
+ }
];
class SecuritySettings extends Component {
@@ -68,6 +121,7 @@ class SecuritySettings extends Component {
const {
authenticationMethod,
+ authenticationRequired,
username,
password,
apiKey,
@@ -79,26 +133,40 @@ class SecuritySettings extends Component {
return (