respect devise is_flashing_format?
Merge pull request #493 from timsly/master

Respect devise is_flashing_format?