Skip to content

Commit

Permalink
Add missing template hook
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jan 30, 2016
1 parent ab15f4c commit c3138c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function initialize()
$this->template->hook->attach('template:config:integrations', 'GoogleAuth:config/integration');
$this->template->hook->attach('template:user:external', 'GoogleAuth:user/external');
$this->template->hook->attach('template:user:authentication:form', 'GoogleAuth:user/authentication');
$this->template->hook->attach('template:user:create-remote:form', 'GoogleAuth:user/create_remote');
}

public function getPluginName()
Expand Down
2 changes: 2 additions & 0 deletions Template/user/create_remote.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?= $this->form->label(t('Google Id'), 'google_id') ?>
<?= $this->form->text('google_id', $values, $errors) ?>

0 comments on commit c3138c7

Please sign in to comment.