You can override loginButtons because the default helper object is currently public for some reason:
Handlebars._default_helpers["loginButtons"] = function(options) { return "hello this is test"; };
The original helper function looks like this:
Handlebars.registerHelper( "loginButtons", function (options) { if (options.hash.align === "right") return new Handlebars.SafeString(Template._loginButtons({align: "right"})); else return new Handlebars.SafeString(Template._loginButtons({align: "left"})); });
Here you can replace the default _loginButtons template with _loginButtons own.
However, this could easily break with a future version of the meteor, as Handlebars._default_helpers is not really intended to be used that way. But at least you don't need to work with a meteor plug.
You should also be sure to add your assistant after accounts-ui-unstyled . Therefore, if you use this trick in another package, be sure to declare accounts-ui-unstyled as a dependency.
source share