Secure Cookie Values from hardcoding to const static variable
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user