From 85545aba62546f219a9c9730945511412a3174ef Mon Sep 17 00:00:00 2001 From: jloup Date: Fri, 4 May 2018 11:55:15 +0200 Subject: Password reset. --- api/auth_jwt.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'api/auth_jwt.go') diff --git a/api/auth_jwt.go b/api/auth_jwt.go index 5ce1593..db7e3f4 100644 --- a/api/auth_jwt.go +++ b/api/auth_jwt.go @@ -20,10 +20,6 @@ type JwtClaims struct { jwt.StandardClaims } -func SetJwtSecretKey(secret string) { - JWT_SECRET = []byte(secret) -} - func VerifyJwtToken(token string) (JwtClaims, error) { if len(JWT_SECRET) == 0 { return JwtClaims{}, fmt.Errorf("not initialized jwt secret") -- cgit v1.2.3