Skip to content

Commit a6bb076

Browse files
dominicsteveklabnik
authored andcommitted
Reverted missing 'current password' field on user edit
1 parent ec58f80 commit a6bb076

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/views/devise/registrations/edit.html.haml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
.inputs
1010
= f.input :password, :hint => "Leave it blank if you don't want to change it", :required => false
1111
= f.input :password_confirmation, :required => false
12+
= f.input :current_password, :hint => "we need your current password to confirm your changes", :required => true
1213
.inputs
1314
= f.input :about, :as => :text
1415
.actions

0 commit comments

Comments
 (0)