From: Simo Sorce Date: Fri, 29 Aug 2014 22:03:34 +0000 (-0400) Subject: Add proper ordering to login plugins config opts X-Git-Tag: v0.3.0~94 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=commitdiff_plain;h=ccd28c8113c715ece7aa48febbe03ceccac0d733 Add proper ordering to login plugins config opts Signed-off-by: Simo Sorce Reviewed-by: Patrick Uiterwijk --- 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):