Issue Bug New Orphaned

#105591ext:felogin does not delete fe_typo_user Cookie on logout

Carl-Fredrik Gustafsson 11/13/24, 14:30 updated 10/25/25, 11:13

Description

We use felogin for a closed part of our website with redirect mode ‘Defined by GET/POST Parameters’ enabled.

In a newsletter we send out links to the login page with the access protected target page provided as redirect_uri query param.

The two usual cases work fine: If you are already logged in the correctly redirected page is displayed.
If you are not logged in the login page is displayed. After login you get redirected to the deeplinked page.

However: if you recently logged in and out again and then open the deeplink url again, you will incorrectly be redirected to the target page without displaying the login page – a 403 error is thrown.

Deleting the fe_typo_user cookie solves the problem. In TYPO3 v11 the cookie was still deleted after logout, but it seems not to be deleted with TYPO3 v12.

We are currently on TYPO3 12.4.21.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] ext:felogin does not delete fe_typo_user Cookie on logout Resolves: #105591 Releases: main