fix+feat: añadido crear usuario y separado en componentes los modals

This commit is contained in:
fede committed 2026-06-05 20:29:23 -03:00
1 parent eff116fab0
commit 62ec25b768
14 files changed
+387 -131

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ import (
"repuestera_back/config"
"repuestera_back/dto"
"repuestera_back/jwtutils"
models_seguridad "repuestera_back/models/seguridad"
"github.com/gin-gonic/gin"
@@ -31,7 +32,7 @@ func Me(c *gin.Context) {
if _, ok := token.Method.(*jwt.SigningMethodHMAC); !ok {
return nil, jwt.ErrSignatureInvalid
}
return JWTSecret, nil
return jwtutils.JWTSecret, nil
})
if err != nil || !token.Valid {