diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-29 17:18:23 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-29 17:18:23 -0500 |
commit | e72327d4b1fd92675372a118052f1c9847f882dc (patch) | |
tree | 8147a3ae0c6304769b8da747626467f032d1f171 /app/Controller/App.php | |
parent | 7d36747de634f7101bdaeed38e634adbc5f11b02 (diff) |
Improve session handler and add Ajax session check
Diffstat (limited to 'app/Controller/App.php')
-rw-r--r-- | app/Controller/App.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Controller/App.php b/app/Controller/App.php index 9ac9d012..c88fd928 100644 --- a/app/Controller/App.php +++ b/app/Controller/App.php @@ -15,6 +15,16 @@ use Helper; class App extends Base { /** + * Check if the user is connected + * + * @access public + */ + public function status() + { + $this->response->text('OK'); + } + + /** * Dashboard for the current user * * @access public |