summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes1
-rw-r--r--demos/controls/protected/application.xml2
-rw-r--r--demos/controls/protected/userFile.xml5
3 files changed, 7 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index d72dab89..6c27cc00 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -13,6 +13,7 @@ demos/controls/protected/pages/master/MasterPage.tpl -text
demos/controls/protected/pages/private/MemberPage.php -text
demos/controls/protected/pages/private/MemberPage.tpl -text
demos/controls/protected/pages/private/config.xml -text
+demos/controls/protected/userFile.xml -text
demos/controls/themes/BlueTheme/buttons.skin -text
demos/controls/themes/BlueTheme/icon_profile.gif -text
demos/controls/themes/BlueTheme/labels.skin -text
diff --git a/demos/controls/protected/application.xml b/demos/controls/protected/application.xml
index 2ae2e48a..56f37d03 100644
--- a/demos/controls/protected/application.xml
+++ b/demos/controls/protected/application.xml
@@ -18,7 +18,7 @@
<!-- modules configured and loaded when page service is requested -->
<modules>
<!-- user manager module -->
- <module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
+ <module id="users" class="System.Security.TUserManager" UserFile="Demo.userFile" PasswordMode="Clear">
<user name="demo" password="work" />
<user name="demo2" password="work2" />
</module>
diff --git a/demos/controls/protected/userFile.xml b/demos/controls/protected/userFile.xml
new file mode 100644
index 00000000..b5d02df0
--- /dev/null
+++ b/demos/controls/protected/userFile.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<configuration>
+ <user name="demo3" password="work3" />
+</configuration> \ No newline at end of file