I just checked what my custom 403 page looks like by trying to visit /admin when not logged in, and was greeted with my admin theme (in this case Garland). While there are hopefully few situations where users would be sent to such a page by accident, it seems better if it used the default site theme for those pages - since you're by definition not accessing the admin area when you see it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | system-346455-1.patch | 1.16 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedThis patch checks to make sure that the user has permission to access the specified page before it allows Drupal to overrides the default theme with the admin theme.
Comment #3
effulgentsia commentedLooks fixed to me.
Comment #5
wOOge commentedI back ported this patch to D6, see: http://drupal.org/node/759836