mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-26 17:46:37 +02:00
fix: Use correct CSP for login page
This commit is contained in:
parent
5c73d3d168
commit
c1bad98702
1 changed files with 1 additions and 4 deletions
|
@ -40,10 +40,7 @@ impl IntoResponse for OidcResponse {
|
|||
.header(header::CONTENT_TYPE, "text/html")
|
||||
.header(
|
||||
header::CONTENT_SECURITY_POLICY,
|
||||
format!(
|
||||
"default-src 'nonce-{}'; form-action https://eon.presentmatter.one/;",
|
||||
self.nonce
|
||||
),
|
||||
format!("default-src 'nonce-{}'; form-action 'self';", self.nonce),
|
||||
)
|
||||
.body(body.into())
|
||||
.unwrap()
|
||||
|
|
Loading…
Add table
Reference in a new issue