diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-02-15 17:18:17 +0100 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-02-15 17:18:17 +0100 |
commit | a7ac45809f1f3ccaa1a2b124f2532d8684931c6c (patch) | |
tree | 72a433ad350510d1c7c82b586e181cb9b7c9cc73 | |
parent | 15b63e15eda5f69d0f918d8df44bf614a14b3cda (diff) | |
download | gitlab-ce-fj-fixed-bug-17054.tar.gz |
Fixed bug with the user synced attributes when the user doesn't existfj-fixed-bug-17054
-rw-r--r-- | lib/gitlab/o_auth/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/o_auth/user.rb b/lib/gitlab/o_auth/user.rb index ed5ab7b174d..28ebac1776e 100644 --- a/lib/gitlab/o_auth/user.rb +++ b/lib/gitlab/o_auth/user.rb @@ -224,7 +224,7 @@ module Gitlab end def clear_user_synced_attributes_metadata - gl_user.user_synced_attributes_metadata&.destroy + gl_user&.user_synced_attributes_metadata&.destroy end def log |