From db7a287564ad70bb860a321a81b624cad91856c9 Mon Sep 17 00:00:00 2001 From: Pellaeon Lin Date: Sat, 4 Oct 2014 21:42:22 +0800 Subject: [PATCH] Fix createAccount form action --- controller/registercontroller.php | 2 +- templates/form.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/registercontroller.php b/controller/registercontroller.php index 42bdbf1..84aea47 100644 --- a/controller/registercontroller.php +++ b/controller/registercontroller.php @@ -112,7 +112,7 @@ class RegisterController extends Controller { )) ), 'error'); } elseif ( $email ) { - return new TemplateResponse('registration', 'form', array('email' => $email), 'guest'); + return new TemplateResponse('registration', 'form', array('email' => $email, 'token' => $token), 'guest'); } } diff --git a/templates/form.php b/templates/form.php index a769867..c511848 100644 --- a/templates/form.php +++ b/templates/form.php @@ -1,4 +1,4 @@ -
+