diff options
Diffstat (limited to 'demos/controls/protected/pages/private/MemberPage.php')
-rw-r--r-- | demos/controls/protected/pages/private/MemberPage.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/controls/protected/pages/private/MemberPage.php b/demos/controls/protected/pages/private/MemberPage.php new file mode 100644 index 00000000..61fd113d --- /dev/null +++ b/demos/controls/protected/pages/private/MemberPage.php @@ -0,0 +1,12 @@ +<?php
+
+class MemberPage extends TPage
+{
+ public function logout($sender,$param)
+ {
+ $this->Application->AuthManager->logout();
+ $this->Application->Response->redirect($this->Application->Service->constructUrl('home'));
+ }
+}
+
+?>
\ No newline at end of file |