Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-03 00:06:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-03 00:06:51 +0300
commita19a376bf35b2009566e86b8190662c21ed7e2ba (patch)
tree46d3ea7f44a0a732b96fcbae0cf09d3cfd8ec9dc /app/models/active_session.rb
parent556c79d6cc3d7b24ecbba3a79f8432eb3fcf5c7e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/active_session.rb')
-rw-r--r--app/models/active_session.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/active_session.rb b/app/models/active_session.rb
index 08352caca07..a6d5fc1137d 100644
--- a/app/models/active_session.rb
+++ b/app/models/active_session.rb
@@ -133,7 +133,7 @@ class ActiveSession
entry_keys = raw_active_session_entries(redis, session_ids, user_id)
- entry_keys.map do |raw_session|
+ entry_keys.compact.map do |raw_session|
Marshal.load(raw_session) # rubocop:disable Security/MarshalLoad
end
end