diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-11-02 11:38:53 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-11-02 11:43:46 +0300 |
commit | 6d395154a179a89b6dd6f2287b3137f54b3f3429 (patch) | |
tree | f0bee1ad5612d080303824e8240f5ca7366124f2 | |
parent | b236fc2f51ceba4ad80ded01212c4c7d44ff521d (diff) |
Fix CSP when logging with github on chromium
Chromium requires the redirected url to also be in the csp rules
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r-- | nextcloudappstore/settings/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nextcloudappstore/settings/base.py b/nextcloudappstore/settings/base.py index 1bc54916da..19d157df4f 100644 --- a/nextcloudappstore/settings/base.py +++ b/nextcloudappstore/settings/base.py @@ -206,7 +206,7 @@ CSP_FONT_SRC = ('\'self\'',) CSP_SCRIPT_SRC = ('\'self\'',) CSP_CONNECT_SRC = ('\'self\'',) CSP_STYLE_SRC = ('\'self\'',) -CSP_FORM_ACTION = ('\'self\'',) +CSP_FORM_ACTION = ('\'self\'', 'https://github.com',) CSP_SIGNUP = { 'SCRIPT_SRC': ['https://google.com/recaptcha/', |