Commit 9ca1dce0 authored by Pedro Henrique's avatar Pedro Henrique

Raises timeout time

Signed-off-by: Pedro Henrique's avatarPedro Henrique! <pha14@inf.ufpr.br>
parent e9624af0
...@@ -36,7 +36,7 @@ class SessionsController < Devise::SessionsController ...@@ -36,7 +36,7 @@ class SessionsController < Devise::SessionsController
# end # end
# Set expiretion time to send message when expiring session # Set expiretion time to send message when expiring session
session[:expires_at] = Time.current + 30.minutes session[:expires_at] = Time.current + 24.hours
# Set variable to show loading bar # Set variable to show loading bar
session[:carrega_pagina] = true session[:carrega_pagina] = true
# Set active role to nil # Set active role to nil
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Agendador::Application.config.session_store( Agendador::Application.config.session_store(
:cookie_store, :cookie_store,
key: '_agendador_session', key: '_agendador_session',
expire_after: 30.minutes expire_after: 24.hours
) )
# If change expire_after change also session[:expires_at] at sessions_controller.rb # If change expire_after change also session[:expires_at] at sessions_controller.rb
......
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