X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=lib%2FChatty%2FForm%2FRegister.pm;h=9ae939ef31231833e7afbaa5ecdf4f45606f9f17;hp=853281578b9dd739f3b07f7005ada991e4a8bb3e;hb=715b3a0eafff717a201f65955309f4717e618467;hpb=b5ab6702deb3b1223aa6788cf942de60870007c5 diff --git a/lib/Chatty/Form/Register.pm b/lib/Chatty/Form/Register.pm index 8532815..9ae939e 100644 --- a/lib/Chatty/Form/Register.pm +++ b/lib/Chatty/Form/Register.pm @@ -5,10 +5,10 @@ extends 'HTML::FormHandler::Model::DBIC'; has '+item_class' => (default => 'Account'); -has_field 'email' => (type => 'Email', label => 'Email address'); has_field 'username' => (label => 'User Nickname', required => 1, unique => 1); has_field 'password' => (type => 'Password', required => 1); has_field 'password_confirm' => (type => 'PasswordConf', required => 1); +has_field 'email' => (type => 'Email', label => 'Email address'); has_field 'submit' => (type => 'Submit', value => 'Register'); has '+unique_messages' => (default => sub {