Default to keeping user's email addresses private.

This commit is contained in:
James Mason 2018-09-24 16:25:54 -07:00 committed by Henne Vogelsang
parent d61b4253df
commit ed6b2d8c93
7 changed files with 31 additions and 17 deletions

View file

@ -8,7 +8,8 @@
= semantic_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
= f.input :username, required: false, input_html: { autocomplete: 'off' }
= f.input :email, required: false, input_html: { autocomplete: 'off' }
= f.input :email_public
= f.input :email_public,
hint: "Do you want to your email address publicly? (On sessions, registration lists, etc.)"
= f.input :password, hint: "(Leave blank if you don't want to change it)", input_html: { autocomplete: 'off' }
= f.input :password_confirmation, input_html: { autocomplete: 'off' }
= f.inputs name: 'OpenID' do