-
- Downloads
Update to only provide one way to get a default user
-calling build_user will now apply defaults and only override them if as: :admin is set Change-Id: Id1d938c0967752ecc14370af54f2d88128d18c44
parent
ab916d32
No related branches found
No related tags found
Showing
- app/controllers/admin/users_controller.rb 2 additions, 2 deletionsapp/controllers/admin/users_controller.rb
- app/models/user.rb 17 additions, 10 deletionsapp/models/user.rb
- lib/api/users.rb 2 additions, 3 deletionslib/api/users.rb
- lib/gitlab/auth.rb 66 additions, 0 deletionslib/gitlab/auth.rb
- spec/models/user_spec.rb 53 additions, 19 deletionsspec/models/user_spec.rb
- spec/requests/api/users_spec.rb 3 additions, 1 deletionspec/requests/api/users_spec.rb
Please register or sign in to comment