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
Copy file name to clipboardExpand all lines: docs/index.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ You can configure the addon by visiting CP > Addons > Dynamic Token:
13
13
## Usage
14
14
15
15
* 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.
16
-
* add a `\{\{ dynamic_token \}\}` to your layout file just before `</body>` tag.
16
+
* add a `\{{ dynamic_token \}}` to your layout file just before `</body>` tag.
17
17
* add an `APP_URL=<your_site_url>` to your `.env` file.
18
18
e.g.:`APP_URL=site.com`
19
19
local development: `APP_URL=localhost`
@@ -31,15 +31,15 @@ local development: `APP_URL=localhost`
31
31
</head>
32
32
<body>
33
33
34
-
\{\{ form:create in="superfans" \}\}
35
-
\{\{ fields \}\}
36
-
<label>\{\{ display \}\}
37
-
<input type="text" name="\{\{ field }}" value="\{\{ old }}" \/\>
34
+
\{{ form:create in="superfans" \}}
35
+
\{{ fields \}}
36
+
<label>\{{ display \}}
37
+
<input type="text" name="\{{ field }}" value="\{{ old }}" \/\>
0 commit comments