You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2018/02/20 08:57:21 UTC

svn commit: r1824842 - /ofbiz/site/dtds/ofbiz-component.xsd

Author: jleroux
Date: Tue Feb 20 08:57:21 2018
New Revision: 1824842

URL: http://svn.apache.org/viewvc?rev=1824842&view=rev
Log:
Completed: Logout do not remove autoLogin
(OFBIZ-4959)

Updates for keep-autologin-cookie

BTW now I wonder if I should not rather have used
require-autologin-cookie, just a name change,
not too late...

Modified:
    ofbiz/site/dtds/ofbiz-component.xsd

Modified: ofbiz/site/dtds/ofbiz-component.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/ofbiz-component.xsd?rev=1824842&r1=1824841&r2=1824842&view=diff
==============================================================================
--- ofbiz/site/dtds/ofbiz-component.xsd (original)
+++ ofbiz/site/dtds/ofbiz-component.xsd Tue Feb 20 08:57:21 2018
@@ -251,6 +251,20 @@ under the License.
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
+        <xs:attribute name="keep-autologin-cookie" default="false">
+            <xs:simpleType>
+                <xs:annotation>
+                    <xs:documentation>
+                        Defines if the webapp uses the auto login feature which keeps a memory of the user last visit.
+                        This allows an user easier login by showing his/her username.
+                    </xs:documentation>
+                </xs:annotation>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="virtual-host">
         <xs:complexType>