diff --git a/core/http/request.cpp b/core/http/request.cpp index 49a0b10..b4d8341 100644 --- a/core/http/request.cpp +++ b/core/http/request.cpp @@ -43,6 +43,8 @@ String Request::get_csrf_token() { void Request::set_csrf_token(const String &value) { if (session.is_valid()) { session->add("csrf_token", value); + + SessionManager::get_singleton()->save_session(session); } }