I followed this tutorial to add a custom attribute to Customer. Then in Controller LoginPost.php, I want to get the value of that attribute of a particular customer to do some checking. But I found it completely different from Magento 1.X to retrieve the value of a custom attribute.
Anyone can suggest some methods? Thanks.