Ah. I didn't realise this was happening (back when I first wrote the Identity code, extra post arguments would cause an exception).

I still feel it would be nice to have an explicit marker indicating that Identity should attempt authentication based on form variables. Otherwise, you could have an admin-only edit form that contains user_name and password which when submitted would log you out as the admin and in as the edited user.

At the moment, my dev version of TG looks for a form variable (tg_identity_login) and will only do the login processing when this is present.

On 5 Mar, 2006, at 6:18 am, Simon Belak wrote:

Generally any argument not expected by the receiving method is stripped 

(see turbogears.util.adapt_call), exception being methods having 

declared *args or **kw parameters.


--
Jeff Watkins



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to