Hello/Hi/Greetings,
Is there a way to disable the sending of clear text passwords in the email when users register??? This is a very big security flaw!
Piwigo version: 2.6
PHP version: 5
MySQL version: 5.5
Piwigo URL: http://
Offline
Never mind. I found a solution by editing include/functions_user.inc.php and commenting out the line:
get_l10n_args('Password: %s', stripslashes($password)),
#get_l10n_args('Password: %s', stripslashes($password)),
Offline
Thanks for sharing.
You're right, it's a security flaw and should be disabled by default.
People can uncheck the checkbox to not receive informations by mail. What do you want exactly ?
Offline
I still want the users to receive the emails, just don't want their passwords included.
If they forget their passwords, they can always reset them.
Offline
When you create a user from [Administration > Users > Manage], it won't be coherent if you don't send the password. Trust me, your user won't understand how to log in...
When the user registers herself, she doesn't have to check the option "send an email with my connection settings".
I can't let you say it's a "security flaw". Users can change their password once received. It's more a "user experience" feature in my opinion.
Before we implement this checkbox, how did I send the password to my users? in clear text in a manual email. So for me, it's better to let Piwigo do the work!
Offline
plg wrote:
When you create a user from [Administration > Users > Manage], it won't be coherent if you don't send the password. Trust me, your user won't understand how to log in...
When the user registers herself, she doesn't have to check the option "send an email with my connection settings".
I can't let you say it's a "security flaw". Users can change their password once received. It's more a "user experience" feature in my opinion.
Before we implement this checkbox, how did I send the password to my users? in clear text in a manual email. So for me, it's better to let Piwigo do the work!
I agree Joe, it's a security flaw but as Pierrick said when you manage a gallery with many acces it becomes rapidly boring to give password to people in another way. Joe, how did you proceed ? Have you ideas ?
A better (but not perfect) solution could be to give a one time acess with a link to a page for changing password. The link can only be used until the password is changed and for example until 24 hours.
p.s: Perhaps the checkbox can be uncheck by default in register page.
Last edited by nicolas (2014-09-06 19:17:38)
Offline
It is a security flaw because user passwords are clearly readable as plain text in the sent mails, as long as someone has access to the smtp account used for sending out registration mails.