connect-flash
connect-flash copied to clipboard
Fix session always assign even when not flash is not set
This fix make sure that session.flash is only get assign when setting a flash. Session will not be set if using req.flash('name')
just to get flash's data
+1 for this pull request