mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
fix: Use correct CSP for login page
This commit is contained in:
1 parent
68ca6eabe3
commit
5bd1bedad0
1 file changed
+1
-4
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user