feat: add JWT-based authentication with 24h token expiry in login handler

This commit is contained in:
retoor 2025-01-04 16:04:14 +00:00
parent e48da260eb
commit 6232611e0b

2
auth.h
View File

@ -19,6 +19,6 @@ const char * resolve_api_key(){
{
return api_key;
}
fprintf(stderr, "There is no API key configured in environment.");
fprintf(stderr, "\nThere is no API key configured in environment.\n");
return "";
}