Hi Chris,

thanks for your quick reply, but could you be more specific please?

Where ist the original identity provider class and how do I tell TG
(1.0.7) to use it.
The app.cfg has an option called "identity.provider" which points to
sqlalchemy so I think this isn't the right option?

bye,

Nicolas

Christopher Arndt schrieb:
> Nicolas R. schrieb:
>   
>> at first, Merry Christmas to all!
>>     
>
> Same to you!
>
>   
>> I am looking for a way to disable a user after 10 failed login attempts.
>> I am currently using the default login mechanism provided by turbogears.
>> Is there a possibility to just activate this option or some kind of a
>> plugin? Or do I have to write the whole login procedure new?
>>     
>
> I'm assuming you talk about TG 1.x. No, there is no built-in
> functionality for this. You have to write your own identity provider
> subclass, which overwrites the validate_password method.
>
>
> Chris
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to