работающий logout

This commit is contained in:
2024-11-05 10:44:36 +03:00
parent 0eacd76810
commit 3714207983
3 changed files with 17 additions and 1 deletions

View File

@@ -6,6 +6,8 @@
namespace http::auth::jwt {
extern std::string secretKey;
constexpr const char* EMPTY_AUTH_COOKIE = "auth=;Path=/; Max-Age=86400; HttpOnly; SameSite=Lax";;
void generateSecretKey();
/**