From 69bafcf19c751d7ed4c50f31c65ab8b2fd380f90 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 2 May 2013 10:15:55 -0400 Subject: [PATCH] refactoring register to use form post instead of socket (for passport integration) --- public/src/templates.js | 2 +- public/templates/register.tpl | 29 +++++++---------------------- src/user.js | 24 +++++------------------- src/webserver.js | 14 ++++++++++++++ src/websockets.js | 4 ---- 5 files changed, 27 insertions(+), 46 deletions(-) diff --git a/public/src/templates.js b/public/src/templates.js index f18b1e50b6..e038161d50 100644 --- a/public/src/templates.js +++ b/public/src/templates.js @@ -41,7 +41,7 @@ var templates = {}; function init() { loadTemplates([ 'header', 'footer', 'register', 'home', 'topic', - 'login', 'reset', 'reset_code', 'account_settings', + 'login', 'reset', 'reset_code', 'emails/reset', 'emails/reset_plaintext' ]); } diff --git a/public/templates/register.tpl b/public/templates/register.tpl index 60988336d3..f7ed2e9c4d 100644 --- a/public/templates/register.tpl +++ b/public/templates/register.tpl @@ -2,10 +2,12 @@

Register

-
-
-
- +
+
+
+
+ +