implement and test forget and reset nkode

This commit is contained in:
2025-01-31 10:26:30 -06:00
parent 6dd84e4ca3
commit 9ee27f14cf
7 changed files with 114 additions and 17 deletions

View File

@@ -258,7 +258,7 @@ func (n *NKodeAPI) ForgotNKode(userEmail entities.UserEmail, customerId entities
return nil
}
nkodeResetJwt, err := security.ResetNKodeToken(string(userEmail), uuid.UUID(customerId))
nkodeResetJwt, err := security.ResetNKodeToken(string(userEmail), uuid.UUID(customerId).String())
if err != nil {
return err
}