From 3aec8087f77acba9f4fdc686b26cb36542d37dfd Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 16 Nov 2018 21:32:01 +0200 Subject: Fix lint errors. --- client/components/main/layouts.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/components/main/layouts.js') diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index 52584169..9838354f 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -87,7 +87,7 @@ Template.userFormsLayout.events({ event.stopImmediatePropagation(); Meteor.subscribe('user-authenticationMethod', email, { - onReady() { + onReady() { return authentication.call(this, instance, email, password); }, }); @@ -112,7 +112,7 @@ function authentication(instance, email, password) { // If user doesn't exist, uses the default authentication method if it defined if (user === undefined) { user = { - "authenticationMethod": instance.data.defaultAuthenticationMethod.get() + 'authenticationMethod': instance.data.defaultAuthenticationMethod.get(), }; } @@ -128,4 +128,4 @@ function authentication(instance, email, password) { }); } return this.stop(); -} \ No newline at end of file +} -- cgit v1.2.3-1-g7c22