diff options
author | Toon Claes <toon@iotcl.com> | 2017-10-17 15:20:07 +0200 |
---|---|---|
committer | Toon Claes <toon@iotcl.com> | 2017-10-18 10:17:14 +0200 |
commit | b40ff63412ef89ba61a4215ee7478b06b22cf9ca (patch) | |
tree | 5c90aa16335a5aefe1adb86e9d481de466f3a681 /changelogs | |
parent | f69b54682fc1770a73c528032b1a86f3e7d547a1 (diff) | |
download | gitlab-ce-b40ff63412ef89ba61a4215ee7478b06b22cf9ca.tar.gz |
Fix SAML error 500 when no groups are defined for usertc-saml-fix-false-empty
When there are no groups defined in the auth hash attributes,
`Gitlab::Saml::AuthHash#groups` should return an empty array, and
`Gitlab::Saml::User#find_user` should not mark the user as external.
Closes gitlab-org/gitlab-ce#38923.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/tc-saml-fix-false-empty.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/tc-saml-fix-false-empty.yml b/changelogs/unreleased/tc-saml-fix-false-empty.yml new file mode 100644 index 00000000000..987f596475b --- /dev/null +++ b/changelogs/unreleased/tc-saml-fix-false-empty.yml @@ -0,0 +1,5 @@ +--- +title: Fix SAML error 500 when no groups are defined for user +merge_request: 14913 +author: +type: fixed |