X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=ipsilon%2Flogin%2Fauthpam.py;h=f322e148743282ab9203902d6a160f0e0bcc54c2;hp=c88f0a0d1af9a0da0afbb65d61c31bbd225ffc8a;hb=ccd28c8113c715ece7aa48febbe03ceccac0d733;hpb=a511d8ab35cc0f2872eac640ed4120766f92704a diff --git a/ipsilon/login/authpam.py b/ipsilon/login/authpam.py index c88f0a0..f322e14 100755 --- a/ipsilon/login/authpam.py +++ b/ipsilon/login/authpam.py @@ -49,7 +49,7 @@ class Pam(LoginFormBase): if username and password: user = self._authenticate(username, password) if user: - return self.lm.auth_successful(user) + return self.lm.auth_successful(user, 'password') else: error = "Authentication failed" cherrypy.log.error(error) @@ -99,6 +99,8 @@ for authentication. """ 'Password' ], } + self.conf_opt_order = ['service name', 'username text', + 'password text', 'help text'] @property def service_name(self):