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 }