mirror of
https://github.com/marcopiovanello/yt-dlp-web-ui.git
synced 2026-07-25 06:54:30 +00:00
code refactoring, updated dockerfile
This commit is contained in:
@@ -164,7 +164,7 @@ func Login(ctx *fiber.Ctx) error {
|
||||
"expiresAt": time.Now().Add(time.Minute * 30),
|
||||
})
|
||||
|
||||
tokenString, err := token.SignedString([]byte(os.Getenv("JWTSECRET")))
|
||||
tokenString, err := token.SignedString([]byte(os.Getenv("JWT_SECRET")))
|
||||
if err != nil {
|
||||
return ctx.SendStatus(fiber.StatusInternalServerError)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user