Commit 474f678a authored by Toon Claes's avatar Toon Claes

Resolve conflict in User model

parent cf0b2ed8
......@@ -375,14 +375,11 @@ class User < ActiveRecord::Base
namespace&.owner
end
<<<<<<< HEAD
def non_ldap
joins('LEFT JOIN identities ON identities.user_id = users.id')
.where('identities.provider IS NULL OR identities.provider NOT LIKE ?', 'ldap%')
end
=======
>>>>>>> upstream/master
def reference_prefix
'@'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment