From dae0c7391ab8308506bddc5fff76414a3bb87ce4 Mon Sep 17 00:00:00 2001
From: Frederic Guillot
Date: Fri, 29 Jan 2016 20:15:53 -0500
Subject: Move Google authentication to an external plugin
---
app/Template/auth/index.php | 6 +-----
app/Template/config/integrations.php | 8 --------
app/Template/user/authentication.php | 3 +--
app/Template/user/external.php | 20 ++++----------------
4 files changed, 6 insertions(+), 31 deletions(-)
(limited to 'app/Template')
diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php
index a1059d6f..99444d37 100644
--- a/app/Template/auth/index.php
+++ b/app/Template/auth/index.php
@@ -40,12 +40,8 @@
= $this->hook->render('template:auth:login-form:after') ?>
-
+
-
- - = $this->url->link(t('Login with my Google Account'), 'oauth', 'google') ?>
-
-
- = $this->url->link(t('Login with my Github Account'), 'oauth', 'github') ?>
diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php
index bba85672..ef490cdf 100644
--- a/app/Template/config/integrations.php
+++ b/app/Template/config/integrations.php
@@ -3,17 +3,9 @@
-
+
= t('No external authentication enabled.') ?>
+
+ = $html ?>
--
cgit v1.2.3