Secure Cookie Values from hardcoding to const static variable

This commit is contained in:
Tina_Azure
2023-05-11 18:23:49 +02:00
parent dd64311766
commit b0b8dd5ec0
3 changed files with 9 additions and 6 deletions

View File

@@ -61,5 +61,8 @@ namespace TemplateConstCollection {
const static std::string MUSTACHE_PAGINATION_PREVIOUS = "PAGINATION_PREVIOUS";
const static std::string MUSTACHE_PAGINATION_NEXT = "PAGINATION_NEXT";
//Cookie names
const static std::string COOKIE_LOGIN_KEY = "loginKey";
const static std::string COOKIE_FREELANCER_EMAIL = "freelancerEmail";
}
#endif