summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorKaito Udagawa <[email protected]>2021-07-08 02:51:11 +0900
committerKaito Udagawa <[email protected]>2021-07-08 02:52:45 +0900
commit13598c098f5c941c8dd4d0452ea67750d6a5020a (patch)
tree4e28e389f976934323ddd86749686d13fb7dbba6 /src/util.rs
parenta622b4d2fb3134f94f156c09365d3cd243d6b4f0 (diff)
downloadvaultwarden-13598c098f5c941c8dd4d0452ea67750d6a5020a.tar.gz
vaultwarden-13598c098f5c941c8dd4d0452ea67750d6a5020a.zip
Add links to browser extensions
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.rs b/src/util.rs
index 14e8c52e..ffe77e99 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -29,6 +29,9 @@ impl Fairing for AppHeaders {
res.set_raw_header("X-Content-Type-Options", "nosniff");
res.set_raw_header("X-XSS-Protection", "1; mode=block");
let csp = format!(
+ // Chrome Web Store: https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb
+ // Edge Add-ons: https://microsoftedge.microsoft.com/addons/detail/bitwarden-free-password/jbkfoedolllekgbhcbcoahefnbanhhlh?hl=en-US
+ // Firefox Browser Add-ons: https://addons.mozilla.org/ja/firefox/addon/bitwarden-password-manager/
"frame-ancestors 'self' chrome-extension://nngceckbapebfimnlniiiahkandclblb chrome-extension://jbkfoedolllekgbhcbcoahefnbanhhlh moz-extension://* {};",
CONFIG.allowed_iframe_ancestors()
);