getCurrentSiteUrl() is deprecated. 
getCurrentSiteUrl() is deprecated. 

getCurrentSiteUrl() is deprecated. This method was replaced by getBaseUrl() in API version 30.0.
salesforceidentity/basic-custom-login,salesforceidentity/basic-custom-login