Open
Description
Preconditions (*)
- Magento 2.4.2
Steps to reproduce (*)
- Have admin session lifetime configured as a value greater than 86400s. (May be 1 year's seconds or something like that)
- Create admin session by logging in on admin panel
- Wait >86400s (but lesser than the seconds that is set in step1).
- Run crontask security_clean_admin_expired_sessions (which calls method cleanExpiredSessions)
- Admin sessions gets cleaned.
Expected result (*)
- Admin session cleaning uses config value, allowing sessions to stick around even when older than 86400s
Actual result (*)
- Admin session cleaning uses class constant of 86400s as a limit
Additional Information
- Update the
Admin Session Lifetime (seconds)
, please find the below screenshot:
- Wait for > 86400
- Run cron
security_clean_admin_expired_sessions
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- [ *] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
(not sure on severity, it forces you to log back in, which is annoying but not critical I suppose)
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchIssue related to Developer Experience and needs help with Triage to Confirm or Reject it