Version 1.4 not backwards compatible #8
Comments
Imho it's fully BC, please provide more info. |
Expected: I am logged in automatically. |
In case it helps: if I reload the page twice (meaning upon the third request), I am actually logged in automatically with version 1.4. With version 1.3 I am logged in automatically upon the first request. |
Most likely because the user is authenticated but the authentication cookie is lost in the preflight request :-(
|
The cookie is not lost, it's replayed onto the second request. |
Is it? If the initial request was not successful?
|
Of course not, then it's just passed on to the application, not a problem of the bundle anymore. |
I don't think there's ever been a BC break here but I've adjusted the way cookies are replayed in 1f1f504 so the upcoming 1.4.2 might fix your issue. |
I tried to reproduce, works perfectly fine in both versions, 1.4.1 as well as the current 1.4.2 hotfix. |
Even 1.4.0 works. |
@Toflar works, no problem so far with Contao 4.4.13 and |
ups, my auto login page runs on a different subdomain. so this will not reproduce the issue described by @leofeyer |
Now it works with version 1.4.1 on my system, too. WTF? |
Ok, releasing then :-) |
Using Contao 4.4 with version 1.4 of the header-replay-bundle breaks Contao's autologin functionality, therefore I assume that version 1.4 is not backwards compatible?
The text was updated successfully, but these errors were encountered: