mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-19 14:04:32 +07:00
node_modules: update (#349)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
9d0c26ec8b
commit
0a1f5db16c
36 files changed
+1934
-648
No files matched your search
+8
-2
@@ -226,8 +226,14 @@ class XOAuth2 extends Stream {
|
||||
grant_type: 'refresh_token'
|
||||
};
|
||||
}
|
||||
Object.assign(urlOptions, this.options.customParams);
|
||||
Object.assign(loggedUrlOptions, this.options.customParams);
|
||||
const customParams = this.options.customParams || {};
|
||||
Object.assign(urlOptions, customParams);
|
||||
// a custom param is as likely to be a client assertion or an API key as a tenant
|
||||
// name, so the log gets the same glimpse of it that it gets of the client secret
|
||||
for (const key of Object.keys(customParams)) {
|
||||
const param = customParams[key];
|
||||
loggedUrlOptions[key] = (param === undefined || param === null ? '' : String(param)).substr(0, 6) + '...';
|
||||
}
|
||||
this.logger.debug({
|
||||
tnx: 'OAUTH2',
|
||||
user: this.options.user,
|
||||
|
||||
Reference in new issue
Block a user