Dear ALL , i want to use janrain and normal registration at the same time so i did this :
from gluon.contrib.login_methods.rpx_account import RPXAccount url = "http://localhost:8000/%s/default/user/login" % request.application from gluon.contrib.login_methods.extended_login_form import ExtendedLoginForm other_form = RPXAccount(request, api_key='xxxxxxxxxx', domain='xxxxxxxxxx', url=url) auth.settings.login_form = ExtendedLoginForm(request,auth, other_form) but when i open user/login i keep getting this error :: TRACEBACK Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 204, in restricted exec ccode in environment File "C:/web2py/applications/i3zif/controllers/default.py", line 218, in <module> File "C:\web2py\gluon\globals.py", line 172, in <lambda> self._caller = lambda f: f() File "C:/web2py/applications/i3zif/controllers/default.py", line 153, in user return dict(form=auth()) File "C:\web2py\gluon\tools.py", line 1141, in __call__ return getattr(self,args[0])() File "C:\web2py\gluon\tools.py", line 1766, in login return cas.login_form() File "C:\web2py\gluon\contrib\login_methods\extended_login_form.py", line 89, in login_form request = self.auth.environment.request AttributeError: 'NoneType' object has no attribute 'request' ERROR SNAPSHOT <type 'exceptions.AttributeError'>('NoneType' object has no attribute 'request') how can i fix this ??