diff --git a/modules/users/server/controllers/users/users.authentication.server.controller.js b/modules/users/server/controllers/users/users.authentication.server.controller.js index fee8ed79ce..c8920bd3a8 100644 --- a/modules/users/server/controllers/users/users.authentication.server.controller.js +++ b/modules/users/server/controllers/users/users.authentication.server.controller.js @@ -177,7 +177,7 @@ exports.saveOAuthUserProfile = function(req, providerUserProfile, done) { */ exports.removeOAuthProvider = function(req, res, next) { var user = req.user; - var provider = req.param('provider'); + var provider = req.params.provider; if (user && provider) { // Delete the additional provider