Fixed bug with oauth user synced attributes

parent 83a126f6
......@@ -226,7 +226,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
......
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