summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-08-29 18:03:34 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-09-24 20:29:37 +0200
commitccd28c8113c715ece7aa48febbe03ceccac0d733 (patch)
tree6fc211748ce700e1bbfa2d7197f39772da3ba822
parentef4fcd195bbf4d69bac142b7767aff344588842c (diff)
downloadipsilon-ccd28c8113c715ece7aa48febbe03ceccac0d733.tar.gz
ipsilon-ccd28c8113c715ece7aa48febbe03ceccac0d733.tar.xz
ipsilon-ccd28c8113c715ece7aa48febbe03ceccac0d733.zip
Add proper ordering to login plugins config opts
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
-rwxr-xr-xipsilon/login/authfas.py3
-rwxr-xr-xipsilon/login/authform.py1
-rwxr-xr-xipsilon/login/authpam.py2
3 files changed, 6 insertions, 0 deletions
diff --git a/ipsilon/login/authfas.py b/ipsilon/login/authfas.py
index 1592cac..c688f3e 100755
--- a/ipsilon/login/authfas.py
+++ b/ipsilon/login/authfas.py
@@ -91,6 +91,9 @@ Form based login Manager that uses the Fedora Authentication Server
''
],
}
+ self.conf_opt_order = ['FAS url', 'FAS Proxy client user Agent',
+ 'FAS Insecure Auth', 'username text',
+ 'password text', 'help text']
@property
def help_text(self):
diff --git a/ipsilon/login/authform.py b/ipsilon/login/authform.py
index 4c812db..d372eff 100755
--- a/ipsilon/login/authform.py
+++ b/ipsilon/login/authform.py
@@ -71,6 +71,7 @@ Form based login Manager. Relies on mod_intercept_form_submit plugin for
'Password'
],
}
+ self.conf_opt_order = ['username text', 'password text', 'help text']
@property
def help_text(self):
diff --git a/ipsilon/login/authpam.py b/ipsilon/login/authpam.py
index 58e07cf..f322e14 100755
--- a/ipsilon/login/authpam.py
+++ b/ipsilon/login/authpam.py
@@ -99,6 +99,8 @@ for authentication. """
'Password'
],
}
+ self.conf_opt_order = ['service name', 'username text',
+ 'password text', 'help text']
@property
def service_name(self):