From ede1f1d9b0c06a05845f4125d59c97c29b6d9842 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 16 Jul 2015 20:35:56 -0400 Subject: Refactoring of Github authentication (oauth url change) --- app/common.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/common.php') diff --git a/app/common.php b/app/common.php index 186d0f85..29b2c54e 100644 --- a/app/common.php +++ b/app/common.php @@ -115,4 +115,8 @@ if (ENABLE_URL_REWRITE) { // Ical routes $container['router']->addRoute('ical/project/:token', 'ical', 'project', array('token')); $container['router']->addRoute('ical/user/:token', 'ical', 'user', array('token')); + + // Auth routes + $container['router']->addRoute('oauth/google', 'oauth', 'google'); + $container['router']->addRoute('oauth/github', 'oauth', 'github'); } -- cgit v1.2.3