Hey. Could we fix the format of the check_cram_md5_passwd function inside Haraka / plugins / auth / auth_base.js to have the same parameters as check_plain_passwd. I need the connection object inside this function to store user credentials as connection.notes. It would be easier to extend the auth.base.js module if the connection object would be available (also more logical).
exports.check_plain_passwd = function (connection, user, passwd, cb) {}
exports.check_cram_md5_passwd = function (connection, user, passwd, cb) {}
// original: exports.check_cram_md5_passwd = function (ticket, user, passwd, cb) {}
Hey. Could we fix the format of the
check_cram_md5_passwd
function insideHaraka / plugins / auth / auth_base.js
to have the same parameters ascheck_plain_passwd
. I need theconnection
object inside this function to store user credentials asconnection.notes
. It would be easier to extend theauth.base.js
module if the connection object would be available (also more logical).I ask before the PR ;).