summaryrefslogtreecommitdiffstats
path: root/app/controller/root.control.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/controller/root.control.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/controller/root.control.php b/app/controller/root.control.php
index b44ad76..06abf27 100644
--- a/app/controller/root.control.php
+++ b/app/controller/root.control.php
@@ -29,11 +29,19 @@ class Root extends Controller
/* TODO */
/* TODO -- only auth if logged out */
- else
+ else if (!$this->getCurrentUser())
{
$ctrl = new Auth();
$ctrl->handle($argv);
}
+
+ else
+ {
+ echo "logged in as:!";
+ echo "<pre>";
+ var_dump($this->getCurrentUser());
+ echo "</pre>";
+ }
}
/*