Login issue

Using PHPmaker 2026.14 I generate production with encrypt secrets ON. now when a user enters right or wrong credentials and click login, they stay on the login page and it does not neither redirect to the main page nor give a bad credential message. the user is stuck in the login page. Any idea why?

I should mention that I am setting Config('COOKIE_PATH', '/appeals'); in the global code server event

During development, always turn on Debug and check the log file for server side errors.

If you change your cookie path (or other config), always clear Symfony cache.

Also delete cookies in your browser and try again.