Skip to content
Snippets Groups Projects
  • Roeland Jago Douma's avatar
    e6333c8f
    Honor remember_login_cookie_lifetime · e6333c8f
    Roeland Jago Douma authored
    
    If the remember_login_cookie_lifetime is set to 0 this means we do not
    want to use remember me at all. In that case we should also not creatae
    a remember me cookie and should create a proper temp token.
    
    Further this specifies that is not 0 the remember me time should always
    be larger than the session timeout. Because else the behavior is not
    really defined.
    
    Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
    e6333c8f
    History
    Honor remember_login_cookie_lifetime
    Roeland Jago Douma authored
    
    If the remember_login_cookie_lifetime is set to 0 this means we do not
    want to use remember me at all. In that case we should also not creatae
    a remember me cookie and should create a proper temp token.
    
    Further this specifies that is not 0 the remember me time should always
    be larger than the session timeout. Because else the behavior is not
    really defined.
    
    Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>