Commit 7a7b82e6 authored by userimack's avatar userimack Committed by Tim Graham
Browse files

Fixed #26181 -- Corrected AngularJS CSRF example.

parent 182f98c4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -144,8 +144,8 @@ If you're using AngularJS 1.1.3 and newer, it's sufficient to configure the

.. code-block:: javascript

    $http.defaults.xsrfCookieName = 'csrftoken';
    $http.defaults.xsrfHeaderName = 'X-CSRFToken';
    $httpProvider.defaults.xsrfCookieName = 'csrftoken';
    $httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken';

Other template engines
----------------------