summaryrefslogtreecommitdiff
path: root/app/common.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-16 22:22:33 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-16 22:22:33 -0400
commit493c7c2c74ffdbe3ceb422d331b73e653ec0b618 (patch)
treebaa8451934e3b1f35a525a0665b12a13cf66eccd /app/common.php
parente0d4877126acc1e7189e6e67e1f1ca24e1dd5f02 (diff)
Store redirect login url in session instead of using url parameter
Diffstat (limited to 'app/common.php')
-rw-r--r--app/common.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/common.php b/app/common.php
index 29b2c54e..734f094b 100644
--- a/app/common.php
+++ b/app/common.php
@@ -119,4 +119,6 @@ if (ENABLE_URL_REWRITE) {
// Auth routes
$container['router']->addRoute('oauth/google', 'oauth', 'google');
$container['router']->addRoute('oauth/github', 'oauth', 'github');
+ $container['router']->addRoute('login', 'auth', 'login');
+ $container['router']->addRoute('logout', 'auth', 'logout');
}