Files
bssapp/svc/internal/security/password_reset.go
2026-02-11 17:46:22 +03:00

14 lines
210 B
Go

package security
import (
"os"
)
func BuildResetURL(token string) string {
base := os.Getenv("FRONTEND_URL")
if base == "" {
base = "http://localhost:9000"
}
return base + "/password-reset/" + token
}