Add proper ordering to login plugins config opts
authorSimo Sorce <simo@redhat.com>
Fri, 29 Aug 2014 22:03:34 +0000 (18:03 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Wed, 24 Sep 2014 18:29:37 +0000 (20:29 +0200)
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/login/authfas.py
ipsilon/login/authform.py
ipsilon/login/authpam.py

index 1592cac..c688f3e 100755 (executable)
@@ -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):
index 4c812db..d372eff 100755 (executable)
@@ -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):
index 58e07cf..f322e14 100755 (executable)
@@ -99,6 +99,8 @@ for authentication. """
                 'Password'
             ],
         }
+        self.conf_opt_order = ['service name', 'username text',
+                               'password text', 'help text']
 
     @property
     def service_name(self):