Commit 2f2b97f2ab5131308816e42cb57738a8ba59f552
1 parent
4cedf957
Exists in
master
and in
29 other branches
ActionItem1165: usability
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
app/controllers/public/account_controller.rb
@@ -77,6 +77,8 @@ class AccountController < ApplicationController | @@ -77,6 +77,8 @@ class AccountController < ApplicationController | ||
77 | end | 77 | end |
78 | rescue ActiveRecord::RecordInvalid | 78 | rescue ActiveRecord::RecordInvalid |
79 | @person.valid? | 79 | @person.valid? |
80 | + @person.errors.delete(:identifier) | ||
81 | + @person.errors.delete(:user_id) | ||
80 | if @wizard | 82 | if @wizard |
81 | render :action => 'signup', :layout => 'wizard' | 83 | render :action => 'signup', :layout => 'wizard' |
82 | else | 84 | else |
app/views/account/_signup_form.rhtml
@@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
37 | 37 | ||
38 | <div id='signup-password'> | 38 | <div id='signup-password'> |
39 | <%= required f.password_field(:password, | 39 | <%= required f.password_field(:password, |
40 | - :help => help=_('Choose a password that you can remember easily.')) %> | 40 | + :help => help=_('Choose a password that you can remember easily. It must have at least 4 characters.')) %> |
41 | <div class='help-small-msg'><%= help %></div> | 41 | <div class='help-small-msg'><%= help %></div> |
42 | </div> | 42 | </div> |
43 | 43 |