# Password recovery or reset?

**URL:** <https://forum.heroiclabs.com/t/password-recovery-or-reset/739>\
**Category:** Game Design\
**Tags:** authentication\
**Created:** [May 15, 2020, 2:56am UTC](https://forum.heroiclabs.com/t/password-recovery-or-reset/739 "2020-05-15T02:56:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakkarage](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/rakkarage/32/253_2.png) [@rakkarage](https://forum.heroiclabs.com/u/rakkarage)\
**Post date:** [May 15, 2020, 2:56am UTC](https://forum.heroiclabs.com/t/password-recovery-or-reset/739/1 "2020-05-15T02:56:27Z")

</div>

i have read this issue about password recovery

> <https://github.com/heroiclabs/nakama/issues/136>
>
> Well i am opening up this issue so you guys would work on a system to make the u…sers able to change their passwords through a confirmation email sent to the users email !
> 
> There are many ways to do it , but i think its better to keep it all Server-side . I kinda did most of the work on the client-side (Unity) and the lua module would only update to the DB.
> 
> But the basic logic i think is sending a password reset request which would create a random code and store it somewhere in the DB and then email it the user (through a http request to a php mailer), and when the user inputs the correct code he will get redirected to a second page where he could type the new password and send it to the Lua module which would only update the password field.
> 
> I know my idea is so basic and i think you guys could do it in a more professional way !

and am wondering if anyone can provide more info on how to do this please?  
is there some service i can use like sendgrid or i have to host a page to make this work?  
maybe there is a simple example somewhere?  
please & thanks
