?
avatar webfeuerflo
webfeuerflo
11 May 2018

Steps to reproduce the issue

Set "send password" in user options to "no", create a new user in the backend.

Expected result

User notification email should not contain the password

Actual result

The password is sent to the user

System information (as much as possible)

Joomla 3.8.7

Additional comments

I think the admin should be able to control when a password is sent in clear text, as it might be a security breach to send it with email. The switch in the options suggests that you can control that, but it is only applied to the frontend user registration not to the backend. Talked to @SniperSister about this...

avatar webfeuerflo webfeuerflo - open - 11 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 May 2018
avatar infograf768
infograf768 - comment - 11 May 2018

The parameter to send a mail when user created in backend is available in the plugin and it indeed does not offer the possibility of adding or not the password in the mail.
Honestly, when a user is created in backend, someone HAS to send that person a password, even if temporary...

screen shot 2018-05-11 at 09 25 45

avatar webfeuerflo
webfeuerflo - comment - 11 May 2018

I would like to control how I send the user the pw. Maybe I choose to create an encrypted document with the credentials and and store it in a secured folder where only he has access? Or he is sitting beside me and I tell him personally? If it is sent automatically and I cannot prevent this, it might be seen by somebody I don't want to.

avatar infograf768
infograf768 - comment - 11 May 2018

You may just set this parameter to NO and do what you like after as you do know the user email you just created.

Also, you can modify with an override the string concerned:

PLG_USER_JOOMLA_NEW_USER_EMAIL_BODY="Hello %s,\n\n\nYou have been added as a User to %s by an Administrator.\n\nThis email has your username and password to log in to %s\n\nUsername: %s\nPassword: %s\n\n\nPlease do not respond to this message as it is automatically generated and is for information purposes only."

Last variable is the password in clear.

avatar webfeuerflo
webfeuerflo - comment - 11 May 2018

Oh, that's great! I didn't think about the language override! So at least I AM able to control it. Still, I think it is a bit misleading to offer this switch in the user options and not make clear it only affects users created in the frontend

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 May 2018
Status New Information Required
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 May 2018
Category Authentication com_users
avatar brianteeman
brianteeman - comment - 11 May 2018

Dont forget that when you create the user you can set that they must reset the password. That means that it doesnt matter that this password is sent in plain text as it will not be the user password.

Closed as expected behaviour

avatar brianteeman brianteeman - close - 11 May 2018
avatar brianteeman brianteeman - change - 11 May 2018
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2018-05-11 08:14:22
Closed_By brianteeman
avatar Bakual
Bakual - comment - 11 May 2018

Last but not least: If you create the user in backend and take security seriously, you don't enter the password but leave it empty. This way it is randomely generated and only the user gets to know it. You will not know the password at all and can't send it through other channels.

Add a Comment

Login with GitHub to post a comment