X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=ipsilon%2Flogin%2Fauthpam.py;h=d5ab42896922ff178eac7399354d3a966f754cdb;hp=ce60f39a37ffccda6fc766b1d304802c6aaf1303;hb=630b85e06018fb3d9f8c34685a406b3770d58b54;hpb=cd30057eec4c772171c5558d9fac2c1f73bc12dd diff --git a/ipsilon/login/authpam.py b/ipsilon/login/authpam.py index ce60f39..d5ab428 100755 --- a/ipsilon/login/authpam.py +++ b/ipsilon/login/authpam.py @@ -41,6 +41,7 @@ class Pam(LoginPageBase): return self._template('login/pam.html', title='Login', action='%s/login/pam' % self.basepath, service_name=self.lm.service_name, + help_text=self.lm.help_text, username_text=self.lm.username_text, password_text=self.lm.password_text) @@ -85,6 +86,11 @@ for authentication. """ 'string', 'remote' ], + 'help text': [ + """ The text shown to guide the user at login time. """, + 'string', + 'Insert your Username and Password and then submit.' + ], 'username text': [ """ The text shown to ask for the username in the form. """, 'string', @@ -101,6 +107,10 @@ for authentication. """ def service_name(self): return self.get_config_value('service name') + @property + def help_text(self): + return self.get_config_value('help text') + @property def username_text(self): return self.get_config_value('username text')