This commit is contained in:
Lizandro Guarnizo
2026-05-18 23:50:50 -05:00
parent bbe83c79ba
commit 7f309186d6
10 changed files with 73 additions and 22 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ func ApiRegisterPost(c *fiber.Ctx) error {
store.Set("user_id", user.ID) // save to storage
_ = store.Save()
go services.SendConfirmationEmail(user.Email, c.BaseURL(), user.NombreUsuario)
go services.SendConfirmationEmail(user.Email, services.GetPublicURL(), user.NombreUsuario)
return c.JSON(fiber.Map{
"success": true,
"message": "Registered successfully! Please confirm your email",