Symfony\Component\Security\Core\User\AdvancedUserInterface::isAccountNonLocked
Checks whether the user is locked.
Internally, if this method returns false, the authentication system will throw a LockedException and prevent login.
Signature
public function isAccountNonLocked()
Returns
- Boolean
- true if the user is not locked, false otherwise