r-o-b-o-t-o / strapi-azerothcore

AzerothCore integration in Strapi CMS
MIT License
0 stars 0 forks source link

feat(auth/forgotPassword): link existing game accounts #2

Open r-o-b-o-t-o opened 1 month ago

r-o-b-o-t-o commented 1 month ago

When using the "forgot password" endpoint, creates a Strapi account if it doesn't exist already and a game account is found with the submitted email address. Fixes #1.

r-o-b-o-t-o commented 1 month ago

That should do the trick @kofal Any suggestions or criticism?

kofal commented 1 month ago

Just saw this, I will try and let you know whether or not it worked.

From what I can see, it seems pretty straightforward, no comment or criticism at this time!

r-o-b-o-t-o commented 1 month ago

Keep in mind now you need to use the override endpoint (/api/strapi-azerothcore/auth/forgot-password instead of /api/auth/forgot-password)