mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 05:05:53 +00:00
Merge pull request #505 from anoadragon453/anoa/dont_log_bbb_secret
Stop logging BigBlueButton shared secrets
This commit is contained in:
commit
b98b2848cf
@ -362,9 +362,6 @@ export class DimensionBigBlueButtonService {
|
|||||||
// We URL encode each value as a browser would. If we don't, our resulting checksum will not match.
|
// We URL encode each value as a browser would. If we don't, our resulting checksum will not match.
|
||||||
const widgetQueryString = this.queryStringFromObject(queryParameters, encodeAsBrowser);
|
const widgetQueryString = this.queryStringFromObject(queryParameters, encodeAsBrowser);
|
||||||
|
|
||||||
LogService.info("BigBlueButton", "Built widget string:" + widgetQueryString);
|
|
||||||
LogService.info("BigBlueButton", "Hashing:" + apiCallName + widgetQueryString + config.bigbluebutton.sharedSecret);
|
|
||||||
|
|
||||||
// Hash the api name and query parameters to get the checksum, and add it to the set of query parameters
|
// Hash the api name and query parameters to get the checksum, and add it to the set of query parameters
|
||||||
return sha256(apiCallName + widgetQueryString + config.bigbluebutton.sharedSecret);
|
return sha256(apiCallName + widgetQueryString + config.bigbluebutton.sharedSecret);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user