Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #582 from simison/patch-9
Browse files Browse the repository at this point in the history
Fix deprecated ExpressJS req.param('provider')
  • Loading branch information
ilanbiala committed Jun 3, 2015
2 parents cd5db4a + 10d35d1 commit b1d95e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1d95e0

Please sign in to comment.