mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
2FA QR doesn't show up due to CSP error
Relevant stackoverflow fix: https://stackoverflow.com/questions/18447970/content-security-policy-data-not-working-for-base64-images-in-chrome-28
This commit is contained in:
@@ -57,7 +57,7 @@ class SecureHeaders
|
||||
"form-action 'self'",
|
||||
"font-src 'self'",
|
||||
"connect-src 'self'",
|
||||
"img-src 'self'",
|
||||
"img-src 'self' data:",
|
||||
];
|
||||
|
||||
$featurePolicies = [
|
||||
@@ -85,4 +85,4 @@ class SecureHeaders
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user