From: Charles McGarvey Date: Wed, 4 Jan 2012 02:30:57 +0000 (-0700) Subject: not really doing anything with email addresses X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=afee0e0191a4808f3c9fcc13de5db87a83fc0cb4;p=chaz%2Fchatty not really doing anything with email addresses --- 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');