summaryrefslogtreecommitdiff
path: root/app/Controller/Oauth.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-16 20:35:56 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-16 20:35:56 -0400
commitede1f1d9b0c06a05845f4125d59c97c29b6d9842 (patch)
tree2fc9f21c586501d43440dace17e71bfb40618bfc /app/Controller/Oauth.php
parent12036aa21f4308aca4d816864b357f9627a0f437 (diff)
Refactoring of Github authentication (oauth url change)
Diffstat (limited to 'app/Controller/Oauth.php')
-rw-r--r--app/Controller/Oauth.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Controller/Oauth.php b/app/Controller/Oauth.php
index 32947d1a..00ccd694 100644
--- a/app/Controller/Oauth.php
+++ b/app/Controller/Oauth.php
@@ -21,6 +21,16 @@ class Oauth extends Base
}
/**
+ * Link or authenticate a Github account
+ *
+ * @access public
+ */
+ public function github()
+ {
+ $this->step1('github');
+ }
+
+ /**
* Unlink external account
*
* @access public