Skip to content

Commit 69465d2

Browse files
[FIX] SAML LogoutRequest sending wrong NameID
1 parent d70f4af commit 69465d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/meteor-accounts-saml/server/saml_server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ Meteor.methods({
6161
return;
6262
}
6363

64-
let { nameID } = user.services.saml;
64+
const { nameID } = user.services.saml;
6565
const sessionIndex = user.services.saml.idpSession;
66-
nameID = sessionIndex;
66+
6767
if (Accounts.saml.settings.debug) {
6868
console.log(`NameID for user ${ Meteor.userId() } found: ${ JSON.stringify(nameID) }`);
6969
}

0 commit comments

Comments
 (0)