diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-29 20:15:53 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-29 20:15:53 -0500 |
commit | dae0c7391ab8308506bddc5fff76414a3bb87ce4 (patch) | |
tree | 1b594635ceee536c986b8f4f24a7122858ab7fc3 /app/Template/user/authentication.php | |
parent | 915bf5882293d7041e8e5d0f5c32b8acf0938148 (diff) |
Move Google authentication to an external plugin
Diffstat (limited to 'app/Template/user/authentication.php')
-rw-r--r-- | app/Template/user/authentication.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Template/user/authentication.php b/app/Template/user/authentication.php index 20c3d372..1f2d2a69 100644 --- a/app/Template/user/authentication.php +++ b/app/Template/user/authentication.php @@ -8,8 +8,7 @@ <?= $this->form->hidden('id', $values) ?> <?= $this->form->hidden('username', $values) ?> - <?= $this->form->label(t('Google Id'), 'google_id') ?> - <?= $this->form->text('google_id', $values, $errors) ?> + <?= $this->hook->render('template:user:authentication:form', array('values' => $values, 'errors' => $errors, 'user' => $user)) ?> <?= $this->form->label(t('Github Id'), 'github_id') ?> <?= $this->form->text('github_id', $values, $errors) ?> |