reports kind of working?
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user