Change record status: 
Project: 
Introduced in branch: 
Introduced in version: 
Description: 

Previously, users without the "access site in maintenance mode" permission were automatically logged out when trying to access the site while it is in maintenance mode.

Now users will no longer be automatically logged out when maintenance mode is enabled. They will see the maintenance page but will stay logged and will be able to continue their session when maintenance mode is turned off.

The MaintenanceModeSubscriber event subscriber has been removed from the user module.
Code that relies on this class will need to be updated.

Sites relying on the previous behavior may need to implement custom logic if they require users to be logged out during maintenance.

Impacts: 
Site builders, administrators, editors