diff options
| author | Douwe Maan <douwe@gitlab.com> | 2015-02-11 14:12:43 +0100 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2015-02-12 21:05:27 +0100 |
| commit | 6685661b549cdece3b93131af168b5174bc0403f (patch) | |
| tree | 07daec6105e14e906dcdfb7fd1d01a5fb6b13289 /spec/lib | |
| parent | 2dfd21983483bd5fd32b327edb4b02228b377c47 (diff) | |
| download | gitlab-ce-6685661b549cdece3b93131af168b5174bc0403f.tar.gz | |
Clean username acquired from OAuth/LDAP.
Fixes #1967.
Diffstat (limited to 'spec/lib')
| -rw-r--r-- | spec/lib/gitlab/oauth/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/oauth/user_spec.rb b/spec/lib/gitlab/oauth/user_spec.rb index 88307515789..2680794a747 100644 --- a/spec/lib/gitlab/oauth/user_spec.rb +++ b/spec/lib/gitlab/oauth/user_spec.rb @@ -8,7 +8,7 @@ describe Gitlab::OAuth::User do let(:auth_hash) { double(uid: uid, provider: provider, info: double(info_hash)) } let(:info_hash) do { - nickname: 'john', + nickname: '-john+gitlab-ETC%.git@gmail.com', name: 'John', email: 'john@mail.com' } |
