This sample demonstrates how to customize a default Liferay module's source code. This is done by creating an Ext module and configuring it to replace a default module bundle.
For more details on this sample, see the Login Web Ext article on Liferay's Developer Network.