Disable Meteor.loginWithPassword on the Client

Hello! Is there any way to disable Meteor.loginWithPassword on client side? I want to do specific check before user can login with valid credentials, and because of that, server logins user only via Meteor.method call, but how can i strict client from modify source and use Meteor.loginWithPassword on client side?