fix secure:false
Merge pull request #641 from matiu/feature/settings2

fix secure:false