Consider different ways of keeping users logged in without long-lived cookies.
A couple suggestions from T68699: Increase "remember me" login cookie expiry from 30 days to 1 year on Wikimedia wikis:
These do not have the same user experience as the T143015: Consider different "keep me logged in" login lengths for different user groups solution (inactive users will still get logged out), so this requires both product and technical input.
See also: