auth.settings.login_form = ExtendedLoginForm(request, auth, facebook_login 
,signals
=['token'])

ExtendedLoginForm() does not take request as the first argument. "signals" 
is the third argument, so it is seeing facebook_login as the "signals" 
argument, and of course, you also have an additional "signals" argument, 
hence the error. Change to:

auth.settings.login_form = ExtendedLoginForm(auth, facebook_login , signals
=['token'])

Anthony

On Monday, August 20, 2012 2:48:01 PM UTC-4, Alec Taylor wrote:
>
> I followed the tutorial exactly, except used the Facebook login form 
> rather than the RPX (Janrain) one: 
> http://web2py.com/books/default/chapter/29/9#Other-login-methods-and-login-forms
>
> Error ticket: http://jsfiddle.net/AlecTaylor/PVGFM/show/light/ 
>
> How do I get a "double login" form?
>
> Thanks for all information,
>
> Alec Taylor
>

-- 



Reply via email to