mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
cannot block iframes due to duo and u2f
This commit is contained in:
parent
9b790b7edc
commit
cb9f3d00d4
@ -333,8 +333,8 @@ server {{
|
||||
}
|
||||
|
||||
sw.WriteLine($@"
|
||||
# X-Frame-Options is to prevent from clickJacking attack
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
# X-Frame-Options is to prevent from click-jacking attack
|
||||
#add_header X-Frame-Options SAMEORIGIN;
|
||||
|
||||
# disable content-type sniffing on some browsers.
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
|
Loading…
Reference in New Issue
Block a user