Stop raising error when happening csrf