Maintenance mode: not checking sessions enabled before checking against session

Description

This leads to 500 errors for bots and other requests that are sessionless.

Environment

None

Assignee

Unassigned

Reporter

Dominic Watson

Labels

None

Accepted

Yes

Fix versions

Priority

Medium
Configure