]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git/blobdiff - api/auth_jwt.go
Password reset.
[perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git] / api / auth_jwt.go
index 5ce159369a89180650aa706bf65db1d3290a5d16..db7e3f4e4437d4c38b494ec749464c22ec9b74ca 100644 (file)
@@ -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")