You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But also still want to have forms in those static pages?
5
5
DynamoInStatamo is here to help.
6
6
7
+
### Installing
8
+
9
+
Copy the `DynamicToken` into your `site/addons` folder.
10
+
7
11
### Configuration
8
12
9
13
- disable CSRF verification by adding `/!/DynamicToken` to the `csrf_exclude` array in `site/settings/system.yaml`. Don't worry we check that the referrer is comming from your `APP_URL`, but this still carries its own risks.
@@ -12,10 +16,6 @@ DynamoInStatamo is here to help.
12
16
e.g.:`APP_URL=site.com`
13
17
local development: `APP_URL=localhost`
14
18
15
-
### Installing
16
-
17
-
Copy the `DynamicToken` into your `site/addons` folder.
18
-
19
19
### How does this work?
20
20
21
21
First off, if `javascript` is disabled this won't work. We will add this functionality later. On page load it will get a fresh csrf token and update all your forms with it. It will automatically update the token every 15 minutes.
0 commit comments