[Ror-es] InvalidAuthenticityToken y Restful_Autenthication

dac dacmail at gmail.com
Tue Mar 4 13:16:25 GMT 2008


Si, el token viene bien. buscando por ahí encontré que restful
authentication tenía problemas con la protección antiCSRF de rails 2 , pero
ese fallo fue corregido y además era en Users#create.

A mi sin embargo me pasa en Sessions#create y como he dicho antes,
aleatoriamente (me ha pasado 2 veces en tres dias en una aplicación en
producción)..

Seguiré investigando. si alguien supiera ruso o algo (
http://groups.google.com/group/ror2ru/msg/4bb6d0c68908097c)

On Tue, Mar 4, 2008 at 1:56 PM, Xavier Noria <fxn at hashref.com> wrote:

> On Mar 4, 2008, at 13:47 , [dac] wrote:
>
> > Hola!. Algunas veces al intentar hacer login en mi aplicación me
> > devuelve este error:
> >
> > ActionController::InvalidAuthenticityToken
> > (ActionController::InvalidAuthenticityToken):
> >
> > Como comento, solo pasa a veces. ¿Alguien conoce alguna solución?
>
> Tiene que ver con el token anti-CSRF, pero siendo algo intermitente
> creo que necesitas investigar con esta pista. Cuando te ocurra mira si
> viene el token.
>
>
> _______________________________________________
> Ror-es mailing list
> Ror-es at lists.simplelogica.net
> http://lists.simplelogica.net/mailman/listinfo/ror-es
>



-- 
Daniel Aguilar
www.e-dac.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.simplelogica.net/pipermail/ror-es/attachments/20080304/a9e66950/attachment.htm 


More information about the Ror-es mailing list