concrete5/concrete5 — pull request #1172 by mkly (2013-07-18 02:32:29+00:00)
Title: Fix Caching Login Page

Fix Caching Login Page

- Check `canViewPage()` before adding page to full page cache in
`PageCache::shouldAddToCache()`

Prevents issues where user without view permissions visits page and
caches the /login page. Then when permissions are changed or other
issues user sees /login page when should see actual page