1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-11 16:18:14 -05:00

add twofactorauth.org to CSP

This commit is contained in:
Kyle Spearrin 2018-12-12 10:16:02 -05:00
parent b9e7712b34
commit 9a48e6f29a

@ -10,7 +10,8 @@ namespace Bit.Setup
"default-src 'self'; style-src 'self' 'unsafe-inline'; " +
"img-src 'self' data: https://haveibeenpwned.com https://www.gravatar.com; " +
"child-src 'self' https://*.duosecurity.com; frame-src 'self' https://*.duosecurity.com; " +
"connect-src 'self' wss://{0} https://haveibeenpwned.com https://api.pwnedpasswords.com; " +
"connect-src 'self' wss://{0} https://haveibeenpwned.com https://api.pwnedpasswords.com " +
"https://twofactorauth.org; " +
"object-src 'self' blob:;";
private readonly Context _context;