Skip to content
Extraits de code Groupes Projets
  • Patrick Figel's avatar
    537d2939
    Suppress CSRF token warnings (#6240) · 537d2939
    Patrick Figel a rédigé
    CSRF token checking was enabled for API controllers in #6223,
    producing "Can't verify CSRF token authenticity" log spam. This
    disables logging of failed CSRF checks.
    
    This also changes the protection strategy for
    PushSubscriptionsController to use exceptions, making it consistent
    with other controllers that use sessions.
    537d2939
    Historique
    Suppress CSRF token warnings (#6240)
    Patrick Figel a rédigé
    CSRF token checking was enabled for API controllers in #6223,
    producing "Can't verify CSRF token authenticity" log spam. This
    disables logging of failed CSRF checks.
    
    This also changes the protection strategy for
    PushSubscriptionsController to use exceptions, making it consistent
    with other controllers that use sessions.