-
- Downloads
Feature: Allow staff to change user emails (#7074)
* Admin: Show unconfirmed email address on account page * Admin: Allow staff to change user email addresses * ActionLog: On change_email, log current email address and new unconfirmed email address
Showing
- app/controllers/admin/change_emails_controller.rb 49 additions, 0 deletionsapp/controllers/admin/change_emails_controller.rb
- app/helpers/admin/action_logs_helper.rb 3 additions, 1 deletionapp/helpers/admin/action_logs_helper.rb
- app/models/account.rb 1 addition, 0 deletionsapp/models/account.rb
- app/models/admin/action_log.rb 5 additions, 0 deletionsapp/models/admin/action_log.rb
- app/policies/user_policy.rb 4 additions, 0 deletionsapp/policies/user_policy.rb
- app/views/admin/accounts/show.html.haml 5 additions, 1 deletionapp/views/admin/accounts/show.html.haml
- app/views/admin/change_emails/show.html.haml 7 additions, 0 deletionsapp/views/admin/change_emails/show.html.haml
- config/locales/en.yml 9 additions, 0 deletionsconfig/locales/en.yml
- config/routes.rb 1 addition, 0 deletionsconfig/routes.rb
- spec/controllers/admin/change_email_controller_spec.rb 47 additions, 0 deletionsspec/controllers/admin/change_email_controller_spec.rb
Loading
Please register or sign in to comment