[ofbiz-site] branch master updated: Improved: Implemented: Documented: Completed: Reverted: Fixed:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-site] branch master updated: Improved: Implemented: Documented: Completed: Reverted: Fixed:

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a0940a  Improved: Implemented: Documented: Completed: Reverted: Fixed:
1a0940a is described below

commit 1a0940a34424bce7ea5add051da2397bbf87a4c4
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sun Apr 5 15:20:46 2020 +0200

    Improved:
    Implemented:
    Documented:
    Completed:
    Reverted:
    Fixed:
   
    (OFBIZ-)
    Explanation
    Thanks:
---
 dtds/site-conf.xsd | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/dtds/site-conf.xsd b/dtds/site-conf.xsd
index fc9a966..01d0046 100644
--- a/dtds/site-conf.xsd
+++ b/dtds/site-conf.xsd
@@ -305,6 +305,20 @@ under the License.
                 </xs:documentation>
             </xs:annotation>
         </xs:attribute>
+        <xs:attribute name="csrf-token" use="optional" default="">
+            <xs:annotation>
+                <xs:documentation>
+                    If true csrf token is expected. If false no csrf token check. Default to "".
+                </xs:documentation>
+            </xs:annotation>
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value=""/>
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="metric">
         <xs:annotation>