change update profile form to require old password, no more change password...
change update profile form to require old password, no more change password for users in BO, and prevent creating new user from BO
Showing
- app/controllers/admin/users_controller.rb 1 addition, 29 deletionsapp/controllers/admin/users_controller.rb
- app/controllers/users/registrations_controller.rb 8 additions, 11 deletionsapp/controllers/users/registrations_controller.rb
- app/views/admin/users/_form.html.erb 0 additions, 13 deletionsapp/views/admin/users/_form.html.erb
- app/views/admin/users/index.html.erb 0 additions, 3 deletionsapp/views/admin/users/index.html.erb
- app/views/admin/users/new.html.erb 0 additions, 3 deletionsapp/views/admin/users/new.html.erb
- app/views/devise/registrations/edit.html.erb 36 additions, 11 deletionsapp/views/devise/registrations/edit.html.erb
- config/routes.rb 1 addition, 1 deletionconfig/routes.rb
Loading
Please register or sign in to comment