issue 587, thanks thomas.dallagnese

This commit is contained in:
Massimo Di Pierro
2011-12-31 12:03:30 -06:00
parent 8bc46cc53b
commit a697af13ac
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.4 (2011-12-31 12:00:38) stable
Version 1.99.4 (2011-12-31 12:03:17) stable
@@ -6,7 +6,7 @@ ExtendedLoginForm is used to extend normal login form in web2py with one more lo
So user can choose the built-in login or extended login methods.
"""
from gluon.html import DIV
from gluon import current, DIV
class ExtendedLoginForm(object):
"""
@@ -86,7 +86,8 @@ class ExtendedLoginForm(object):
Otherwise it will render the normal login form combined with
alt_login_form.login_form.
"""
request = self.auth.environment.request
request = current.request
args = request.args
if (self.signals and