It is interesting. I examined this earlier, and there is a flag in the client database record is_active, but it is not available and is not written anywhere using the Magento main code. To achieve this requirement, you need to override Mage_Customer_AccountController to check the value of this field inside loginPostAction(), and then make this field visible within the adminhtml Customer blocks.
I'm a little nervous about the implementation of this code, as it bothers me that Varien will include the field, but not use it at all. I would be interested in the thoughts of others about this.
NTN, JD
source
share