diff options
author | Valery Sizov <vsv2711@gmail.com> | 2014-11-27 13:34:39 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2014-12-04 13:03:55 +0200 |
commit | 3a5ed5260b24051939575d1934ce9b8392cac09f (patch) | |
tree | 04d361e52d16234f00e5cdd27b5ebfef9a503579 /app/services/notification_service.rb | |
parent | 1a80d13a3990937580c97e2b0ba8fb98f69bc055 (diff) | |
download | gitlab-ce-3a5ed5260b24051939575d1934ce9b8392cac09f.tar.gz |
Supporting for multiple omniauth provider for the same user
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r-- | app/services/notification_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 2b6217e2e29..d1aadd741e1 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -107,7 +107,7 @@ class NotificationService # Notify new user with email after creation def new_user(user, token = nil) # Don't email omniauth created users - mailer.new_user_email(user.id, token) unless user.extern_uid? + mailer.new_user_email(user.id, token) unless user.identities.any? end # Notify users on new note in system |