File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Security/Model
dev/tests/integration/testsuite/Magento/Security/Model/Plugin Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ private function getIntervalBetweenConsecutiveProlongs()
347347 return (float ) max (
348348 1 ,
349349 min (
350- log ((float )$ this ->securityConfig ->getAdminSessionLifetime ()),
350+ 4 * log ((float )$ this ->securityConfig ->getAdminSessionLifetime ()),
351351 $ this ->maxIntervalBetweenConsecutiveProlongs
352352 )
353353 );
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ public function testProcessProlong()
124124 \Magento \TestFramework \Bootstrap::ADMIN_PASSWORD
125125 );
126126 $ sessionId = $ this ->authSession ->getSessionId ();
127- $ prolongsDiff = log ($ this ->securityConfig ->getAdminSessionLifetime ()) + 2 ; // X from comment above
127+ $ prolongsDiff = 4 * log ($ this ->securityConfig ->getAdminSessionLifetime ()) + 2 ; // X from comment above
128128 $ dateInPast = $ this ->dateTime ->formatDate ($ this ->authSession ->getUpdatedAt () - $ prolongsDiff );
129129 $ this ->adminSessionsManager ->getCurrentSession ()
130130 ->setData (
You can’t perform that action at this time.
0 commit comments