lib/balrog/middleware/controller.rb
# If the user configured the Balrog session to expire, add the 
# expiry_date to the Balrog session.
If the user configured the Balrog session to expire, add the
expiry_date to the Balrog session.
If the user configured the Balrog session to expire add the expiry_date to the Balrog session .
def add_expiry_date!(session_data)
      if session_length
        session_data[:expiry_date] = DateTime.current + session_length
      end
    end
def add_expiry_date! ( session_data ) if session_length session_data [ :expiry_date ] = DateTime . current + session_length end end
If the user configured the Balrog session to expire, add the
expiry_date to the Balrog session.
If the user configured the Balrog session to expire add the expiry_date to the Balrog session .
session_data