Commit 83fef83d authored by nmilojevic1's avatar nmilojevic1 Committed by Nikola Milojevic

Fix lint errors

parent eca4f08d
...@@ -19,9 +19,7 @@ cookie_key = if Rails.env.development? ...@@ -19,9 +19,7 @@ cookie_key = if Rails.env.development?
"_gitlab_session" "_gitlab_session"
end end
store = Gitlab::Redis::Sessions.store( store = Gitlab::Redis::Sessions.store(namespace: Gitlab::Redis::Sessions::SESSION_NAMESPACE)
namespace: Gitlab::Redis::Sessions::SESSION_NAMESPACE
)
Gitlab::Application.config.session_store( Gitlab::Application.config.session_store(
:redis_store, # Using the cookie_store would enable session replay attacks. :redis_store, # Using the cookie_store would enable session replay attacks.
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
module Gitlab module Gitlab
class AnonymousSession class AnonymousSession
def initialize(remote_ip) def initialize(remote_ip)
@remote_ip = remote_ip @remote_ip = remote_ip
end 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