Closed
Description
Description of the bug
Issue #6570 added simplified login path displays for three paths, Issue #6799 extended it to allow also the default theme to be used.
What we didn't consider:
If user registration is disabled on a site, this path will lead to a 403, but still with the simplified display (the admin theme) ... and that looks awkward.
Steps To Reproduce
Requires latest dev.
- Go to admin/config/people/login and verify, the simplified display's turned on, using the admin theme
- Go to admin/config/people/settings and verify that anonymous may not register accounts
- In a different browser or a browser window without session go to user/register
Actual behavior
It's a 403, of course, as expected, but wow, that page looks odd.
The same weird display probably happens, when flood prevention strikes. Edit: it doesn't,
Expected behavior
If the site doesn't have user registration enabled, the simplified page display makes no sense for that path. Same if the page isn't accessible for other reasons. Deliver regular 403 pages instead.
Additional information
- Backdrop CMS version: 1.30.x-dev