Removed passing unused parameter to hash_secret method.