Skip to content

Commit a52b905

Browse files
committed
Fix for blank lockout time showing the user as locked out
1 parent 30c9cb5 commit a52b905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/district/DistrictUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function getMiddleName()
200200
public function isLockedOut()
201201
{
202202
$this->logger->debug($this->activeDirectory->getLockoutTime());
203-
if ($this->activeDirectory->getLockoutTime() === '0') {
203+
if ($this->activeDirectory->getLockoutTime() === '0' || $this->activeDirectory->getLockoutTime() ==="" || $this->activeDirectory->getLockoutTime()===null ) {
204204
return false;
205205
}
206206
return true;

0 commit comments

Comments
 (0)