Skip to content

Commit 29cd307

Browse files
Update app/code/Magento/Security/Model/AdminSessionInfo.php
Co-authored-by: Ihor Sviziev <[email protected]>
1 parent d50d992 commit 29cd307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Security/Model/AdminSessionInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function isSessionExpired()
137137
$lastUpdatedTime = $lastUpdatedTime === null ? 0 : strtotime($lastUpdatedTime);
138138
}
139139

140-
return $lastUpdatedTime <= ($currentTime - $lifetime) ? true : false;
140+
return $lastUpdatedTime <= ($currentTime - $lifetime);
141141
}
142142

143143
/**

0 commit comments

Comments
 (0)