Tuesday, April 11, 2017

Send password by email to User

I would like to know if it's a good practice in terms of security to send the decrypted password to a new user by email. Someone could tell me his feeling?

If i would like to send the password decrypted should i use this ?

$decrypt= Crypt::decrypt($user->password); 

thanks a lot in advance



via Mathieu Mourareau

Advertisement