From 8eb739bb910fb91737c6ce65f244eb9a3ac8f35c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 23 Aug 2015 13:15:59 -0400 Subject: Add Gitlab authentication --- app/Template/user/external.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'app/Template/user/external.php') diff --git a/app/Template/user/external.php b/app/Template/user/external.php index 3b872e85..9ef0b4d1 100644 --- a/app/Template/user/external.php +++ b/app/Template/user/external.php @@ -34,6 +34,22 @@

- + +

 

+ +

+ user->isCurrentUser($user['id'])): ?> + + url->link(t('Link my Gitlab Account'), 'oauth', 'gitlab', array(), true) ?> + + url->link(t('Unlink my Gitlab Account'), 'oauth', 'unlink', array('backend' => 'gitlab'), true) ?> + + + + +

+ + +

-- cgit v1.2.3