summaryrefslogtreecommitdiff
path: root/app/Template/user
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-16 07:28:46 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-16 07:28:46 -0400
commit12036aa21f4308aca4d816864b357f9627a0f437 (patch)
treeb333a38750e06430c667c49d259155d492fbf087 /app/Template/user
parent0bbc6da50ae8b23a8cc6c1217dcd345c0ddb5b7a (diff)
Refactoring of Google Authentication (new callback url)
Diffstat (limited to 'app/Template/user')
-rw-r--r--app/Template/user/external.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/user/external.php b/app/Template/user/external.php
index df85ace7..18d40d79 100644
--- a/app/Template/user/external.php
+++ b/app/Template/user/external.php
@@ -8,9 +8,9 @@
<p class="listing">
<?php if ($this->user->isCurrentUser($user['id'])): ?>
<?php if (empty($user['google_id'])): ?>
- <?= $this->url->link(t('Link my Google Account'), 'user', 'google', array(), true) ?>
+ <?= $this->url->link(t('Link my Google Account'), 'oauth', 'google', array(), true) ?>
<?php else: ?>
- <?= $this->url->link(t('Unlink my Google Account'), 'user', 'unlinkGoogle', array(), true) ?>
+ <?= $this->url->link(t('Unlink my Google Account'), 'oauth', 'unlink', array('backend' => 'google'), true) ?>
<?php endif ?>
<?php else: ?>
<?= empty($user['google_id']) ? t('No account linked.') : t('Account linked.') ?>