evolution-cms / evolution

Welcome to the new evolution of MODX Evolution!
GNU General Public License v3.0
260 stars 95 forks source link

Fixed inability to log in to admin panel if NO_SESSION is set #2134

Closed elcreator closed 3 months ago

elcreator commented 4 months ago

Administrator was able to create core/custom/define.php with

<?php
const NO_SESSION = true;

to avoid unnecessary session creation on every page shown to guests (i.e. to follow GDPR), but was not able to login to admin panel after this action.