diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-04 11:35:46 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-01-04 11:35:46 +0100 |
commit | 091e66ebe3e63ad18075b10c44f36cb2e98d9f32 (patch) | |
tree | 0db83baed04dfa26ac2a328c3371a0d2a538b595 /lib/api/users.rb | |
parent | 115aac77f614a9130aa9bc6ff48aed47339aebfc (diff) | |
download | gitlab-ce-api-fix-user-creation.tar.gz |
API: Fix user creation with external identityapi-fix-user-creation
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r-- | lib/api/users.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb index de07fbf59fc..26b44eb7b81 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -92,6 +92,8 @@ module API # Filter out params which are used later identity_attrs = params.slice(:provider, :extern_uid) + params.delete(:provider) + params.delete(:extern_uid) confirm = params.delete(:confirm) user = User.new(declared_params(include_missing: false)) |