Commit graph

8 commits

Author SHA1 Message Date
Stan Hu
e94a2fde0d Fire system hooks when a user is created via LDAP or OAuth
Closes #37073
2017-08-25 22:00:07 -07:00
James Lopez
b33c638483 update code based on feedback 2017-06-23 17:11:31 +02:00
Douwe Maan
d7e2ac7293 Fix OAuth, LDAP and SAML SSO when regular sign-ups are disabled 2017-04-24 19:27:39 -07:00
geoandri
defbff482d Implement Users::BuildService 2017-04-13 13:02:59 +03:00
blackst0ne
11aff97d88 Remove the User#is_admin? method 2017-04-09 13:20:57 +11:00
DJ Mountney
a766f60a0b Inlude the password_automatically_check param as permitted config in the user create_service
This param is passed to service in two places, one is in the build_user for non ldap oauth users. And the other is in the initial production admin user seed data.

Without this change, when setting up GitLab in a production environment, you were not being given the option of setting the root password on initial setup in the UI.
2017-04-04 10:18:56 -07:00
Rémy Coutable
53ef1de4fc
Fix production admin fixture to use the new Users::CreateService
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-30 10:41:45 +02:00
George Andrinopoulos
7c74a0209b Implement new service for creating user 2017-03-27 09:37:24 +00:00