From afee0e0191a4808f3c9fcc13de5db87a83fc0cb4 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Tue, 3 Jan 2012 19:30:57 -0700 Subject: [PATCH] not really doing anything with email addresses --- db/schema.sql | 1 - lib/Chatty/Form/Register.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/db/schema.sql b/db/schema.sql index fee4063..536b1f3 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -9,7 +9,6 @@ CREATE TABLE room ( CREATE TABLE account ( id INTEGER PRIMARY KEY, - email TEXT, username TEXT UNIQUE, password TEXT NOT NULL, status TEXT DEFAULT 'active', diff --git a/lib/Chatty/Form/Register.pm b/lib/Chatty/Form/Register.pm index bf0ec64..3c4937d 100644 --- a/lib/Chatty/Form/Register.pm +++ b/lib/Chatty/Form/Register.pm @@ -12,7 +12,6 @@ has '+unique_messages' => (default => sub { has_field 'username' => (input_class => 'validate[required,ajax[register_validate]]', label => 'Username', required => 1, unique => 1); has_field 'password' => (input_class => 'validate[required]', type => 'Password', required => 1); has_field 'password_confirm' => (input_class => 'validate[required,equals[password]]', type => 'PasswordConf', required => 1); -has_field 'email' => (input_class => 'validate[custom[email]]', type => 'Email', label => 'Email address'); has_field 'submit' => (type => 'Submit', value => 'Register'); has_field 'reset' => (type => 'Reset', value => 'Reset'); -- 2.45.2