From c3138c7953f06ed4088ae8e9a7042a9535ac8c86 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 29 Jan 2016 23:28:22 -0500 Subject: [PATCH] Add missing template hook --- Plugin.php | 1 + Template/user/create_remote.php | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 Template/user/create_remote.php diff --git a/Plugin.php b/Plugin.php index 585e60d..27dc2af 100644 --- a/Plugin.php +++ b/Plugin.php @@ -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() diff --git a/Template/user/create_remote.php b/Template/user/create_remote.php new file mode 100644 index 0000000..7527e1b --- /dev/null +++ b/Template/user/create_remote.php @@ -0,0 +1,2 @@ +form->label(t('Google Id'), 'google_id') ?> +form->text('google_id', $values, $errors) ?> \ No newline at end of file