From bca2fdfdb7d13bb286c7645b083df9b9f8977e90 Mon Sep 17 00:00:00 2001 From: Brian Hartvigsen Date: Sat, 31 Mar 2018 19:47:04 -0600 Subject: [PATCH] Don't use plexUsername without initialization `plexLogin` -> `plexUsername` similar to what it was previously --- server/methods/authentication/plexAuthentication.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/methods/authentication/plexAuthentication.js b/server/methods/authentication/plexAuthentication.js index 120b936c..9f157a91 100644 --- a/server/methods/authentication/plexAuthentication.js +++ b/server/methods/authentication/plexAuthentication.js @@ -44,13 +44,13 @@ Meteor.methods({ }, - 'checkPlexUser': function (plexLogin, plexPassword) { - check(plexLogin, String) + 'checkPlexUser': function (plexUsername, plexPassword) { + check(plexUsername, String) check(plexPassword, String) if (Settings.find({}).fetch()[0].plexAuthenticationPASSWORDS) { // If passwords are required check full login - var userInfo = Meteor.call('plexLogin', plexLogin, plexPassword) + var userInfo = Meteor.call('plexLogin', plexUsername, plexPassword) var plexUsername = userInfo.username }