Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRoehm committed Jul 27, 2024
1 parent ded3ee9 commit 309a73e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/ctservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,10 @@ exports.getPersonsForIds = async (ids, site) => {
}

exports.authWithChurchTools = (site) => {
return ( user, password ) => async () => {
if (site.site.su) {
console.log(site.site.su)
if (site.site.su === password)
return true
}
return ctconn.authenticate(site.site.url, user, password)
}
return ( user, password ) => ctconn.authenticate(site.site.url, user, password)
}


exports.getChurchToolsData = async (selectionGroupIds, tranformedGroups, site) => {

const allGoupsIds = selectionGroupIds.map((id) => id);
Expand Down

0 comments on commit 309a73e

Please sign in to comment.