#51964FE lifetime is ignored when anonymous user
Description
Despite the fact, that i’ve defined a lifetime greater than 0 via the install tool, cookies are always set as session cookies.
Permalogin setting change nothing since, it’s for a cookie without a user connected.
Seems to be related to #21433.
Function “FrontendUserAuthentication->isRefreshTimeBasedCookie” is used but I think that the function “AbstractUserAuthentication->isRefreshTimeBasedCookie” should be used instead when user is not connected.
In “isRefreshTimeBasedCookie” at line 214, if I delete “$this->user[‘ses_permanent’]” everything is fine.