reports kind of working?

This commit is contained in:
Mann Patel
2025-08-30 12:59:30 -06:00
parent 044580f02a
commit 9bb0a4adef
7 changed files with 1702 additions and 47 deletions

View File

@@ -58,7 +58,7 @@ func createJWTToken(userID, role int) (string, time.Time, error) {
// Get individual components from environment variables
jwtSecret := os.Getenv("JWT_SECRET")
var jwtKey = []byte(jwtSecret) //TODO: Move to env/config
var jwtKey = []byte(jwtSecret)
expirationTime := time.Now().Add(12 * time.Hour)