blob: 941db72b331b0d704ab3ae77a68820f8123db36d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
module.exports = Ferdi => class MicrosoftTeams extends Ferdi {
overrideUserAgent() {
return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim();
}
// TODO: Commenting out since this can expose the user to a MITM attack. Before this can be turned on, we will need to put in some safeguards/warnings that the user can explicitly accept the security ramifications
// // https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-sign-in/sign-in-loop#resolution
// knownCertificateHosts() {
// return [
// 'microsoft.com',
// 'microsoftonline.com',
// 'teams.skype.com',
// 'teams.microsoft.com',
// 'sfbassets.com',
// 'skypeforbusiness.com',
// ];
// };
};
|