Skip to content

Commit c41eab4

Browse files
committed
Proofread
1 parent ccd7a3a commit c41eab4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/en/docs/howto10/security/best-practices-security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ This authentication option is not available for Published Web Services and can o
139139

140140
If you choose this option, the API will expect a "X-Csrf-Token" HTTP request header to be set on each incoming request. This authentication option is particularly interesting for custom JavaScript and widget implementations.
141141

142-
The session token can be acquired by calling Mendix Client API method to get the current CSRF token. This method should be called before each API call in your widget or JavaScript action to prevent cross-site request forgery (CSRF/XSRF).
142+
The session token can be acquired by calling a Mendix Client API method to get the current CSRF token. This method should be called before each API call in your widget or JavaScript action to prevent cross-site request forgery (CSRF/XSRF).
143143

144144
In Mendix versions below 10.23 you can call `mx.session.getConfig("csrftoken")` in your widget or JavaScript action.
145145

0 commit comments

Comments
 (0)