Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4b0ef4a7
Commit
4b0ef4a7
authored
Oct 03, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CE->EE][ci skip] Resove lib/gitlab/saml/user.rb
parent
c7c04712
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
lib/gitlab/saml/user.rb
lib/gitlab/saml/user.rb
+0
-21
No files found.
lib/gitlab/saml/user.rb
View file @
4b0ef4a7
...
...
@@ -23,28 +23,7 @@ module Gitlab
user
.
external
=
!
(
auth_hash
.
groups
&
Gitlab
::
Saml
::
Config
.
external_groups
).
empty?
end
<<<<<<<
HEAD
if
admin_groups_enabled?
&&
@user
@user
.
admin
=
if
(
auth_hash
.
groups
&
Gitlab
::
Saml
::
Config
.
admin_groups
).
empty?
false
else
true
end
end
@user
end
def
find_by_email
if
auth_hash
.
has_attribute?
(
:email
)
user
=
::
User
.
find_by
(
email:
auth_hash
.
email
.
downcase
)
user
.
identities
.
new
(
extern_uid:
auth_hash
.
uid
,
provider:
auth_hash
.
provider
)
if
user
user
end
=======
user
>>>>>>>
bdc50ed779cb0c7d266c0f80f3e66a25da8b1964
end
def
changed?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment