Update PasswordsController to account for missing email
- set audit scope to ::Gitlab::Audit::UnauthenticatedAuthor when password reset is requested for nonexistent email - use have_attributes in specs
显示
- ee/app/controllers/ee/passwords_controller.rb 11 个添加, 9 个删除ee/app/controllers/ee/passwords_controller.rb
- ee/config/audit_events/types/password_reset_requested.yml 10 个添加, 0 个删除ee/config/audit_events/types/password_reset_requested.yml
- ee/spec/controllers/passwords_controller_spec.rb 54 个添加, 2 个删除ee/spec/controllers/passwords_controller_spec.rb
加载中
想要评论请 注册 或 登录