allow the SessionIdManager to use only two keys

This commit is contained in:
tomasz.sowa committed 2022-07-26 05:18:42 +02:00
1 parent 522b57ade4
commit 2e8f4d1a26
3 files changed
+118 -12

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ void SessionManager::InitBanList()
void SessionManager::InitCookieEncoding()
{
if( config->session_cookie_encode && !config->session_keys_file.empty() )
session_id_manager.Init(config->session_keys_file);
session_id_manager.InitMultipleKeys(config->session_keys_file);
session_id_manager.SetKeyRenewTime(config->session_key_renew_time);
}