aeolus-incubator / tim

Web application for managing virtual images to be deployed in the cloud
www.aeolusproject.org
MIT License
3 stars 6 forks source link

Removed protect_from_forgery before_filter #79

Closed jprovaznik closed 11 years ago

jprovaznik commented 11 years ago

I think it's OK to leave responsibility/decision if this filter should be used or not on application which includes Tim engine. protect_from_forgery filter is usually set for all application controllers (in ApplicationController). Adding this filter again in Tim's controller implies that this filter is called twice during executing filter chain.

This filter resets session, impact for Conductor is that then for requests which uses http auth basic is session not set.