summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Vomacka <pvomacka@redhat.com>2016-12-13 13:25:48 +0100
committerDavid Kupka <dkupka@redhat.com>2017-03-08 15:43:11 +0100
commitad3451067ad474ea52872913d6789b1652f9a9c4 (patch)
treee83ff72c7e05f669250872d31bd46eac673d762f
parent0220fc8986e4fef017185bde675dc9cf0f90afd8 (diff)
downloadfreeipa-ad3451067ad474ea52872913d6789b1652f9a9c4.tar.gz
freeipa-ad3451067ad474ea52872913d6789b1652f9a9c4.tar.xz
freeipa-ad3451067ad474ea52872913d6789b1652f9a9c4.zip
WebUI: don't change casing of Auth Indicators values
All values were previously converted to lowercase which was not coresponding with CLI behaviour. Now they stay as they are inserted. I also have to change the strings to lowercase because the otp and radius should be inserted as lowercase words. https://fedorahosted.org/freeipa/ticket/6308 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
-rw-r--r--install/ui/src/freeipa/host.js4
-rw-r--r--install/ui/src/freeipa/service.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js
index a09535cd1..ac434d845 100644
--- a/install/ui/src/freeipa/host.js
+++ b/install/ui/src/freeipa/host.js
@@ -124,11 +124,11 @@ return {
add_field_label: '@i18n:authtype.auth_indicator',
options: [
{
- label: '@i18n:authtype.otp',
+ label: 'otp',
value: 'otp'
},
{
- label: '@i18n:authtype.type_radius',
+ label: 'radius',
value: 'radius'
}
],
diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js
index 10f86cec2..279f842a0 100644
--- a/install/ui/src/freeipa/service.js
+++ b/install/ui/src/freeipa/service.js
@@ -134,11 +134,11 @@ return {
add_field_label: '@i18n:authtype.auth_indicator',
options: [
{
- label: '@i18n:authtype.otp',
+ label: 'otp',
value: 'otp'
},
{
- label: '@i18n:authtype.type_radius',
+ label: 'radius',
value: 'radius'
}
],