Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkjanos committed Apr 29, 2019
1 parent fa4366e commit ee6afa0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/meteor-accounts-saml/server/saml_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,13 @@ Accounts.registerLoginHandler(function(loginRequest) {
const fullName = loginResult.profile.cn || loginResult.profile.username || loginResult.profile.displayName;

let eppnMatch = false;
// not used
// let emailMatch = false;

// Check eppn
let user = Meteor.users.findOne({
eppn: eduPersonPrincipalName,
});

if (user) {
console.log('eppn match');
eppnMatch = true;
}

Expand All @@ -136,9 +133,6 @@ Accounts.registerLoginHandler(function(loginRequest) {
user = Meteor.users.findOne({
'emails.address': emailRegex,
});

console.log('email match');
// emailMatch = true;
}

if (!user) {
Expand Down

0 comments on commit ee6afa0

Please sign in to comment.