Skip to content

Commit 175c0bb

Browse files
committed
Slight change to PR #51.
1 parent b8359e4 commit 175c0bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/passport-saml/strategy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Strategy.prototype.authenticate = function (req, options) {
5858

5959
function redirectIfSuccess(err, url) {
6060
if (err) {
61-
self.error();
61+
self.error(err);
6262
} else {
6363
self.redirect(url);
6464
}

0 commit comments

Comments
 (0)