No Code Attached Yet Information Required bug
avatar thering1975TG
thering1975TG
6 Aug 2023

Steps to reproduce the issue

I edited the Users: New User - en-GB email template with custom HTML (for users created in backend)
Used the {password} Tag to insert the users password into the email (selected from insert tags on RHS)

Expected result

Email should show the users password that was created by admin in the backend

Actual result

Email shows the words: {PASSWORD_CLEAR} where the password tag was inserted, all other tags show the correct information

System information (as much as possible)

Joomla! 4.3.3 Stable [ Bora ] 11-July-2023 16:00 GMT
PHP 8.1.21
10.11.3-MariaDB-1
utf8mb4_general_ci
Apache/2.4.57 (Debian) OpenSSL/3.0.9 mod_fcgid/2.3.9
fpm-fcgi

Additional comments

As mentioned the username, email and site url tags display correctly, only the password tag shows as {password_clear}

avatar thering1975TG thering1975TG - open - 6 Aug 2023
avatar thering1975TG thering1975TG - change - 6 Aug 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Aug 2023
avatar richard67
richard67 - comment - 7 Aug 2023

@thering1975TG Have you edited the right email template? There are several different ones for user activation. As far as I understand, the one which you want to use is named "Users: New account with admin activation (with PW)" and has as description:

Notification about new account to the user, which will now have to be activated by an admin. The cleartext password is included in the mail.

When editing that template, the "Insert Tags" section has a tag "password_clear". That's the one you want to be sent.

Please check and report back if that helps you. Thanks in advance.

avatar richard67 richard67 - change - 7 Aug 2023
Labels Added: Information Required
avatar richard67 richard67 - labeled - 7 Aug 2023
avatar richard67
richard67 - comment - 7 Aug 2023

In general only the email templates marked with a green frame in the following screenshot send a cleartext password:
2023-08-07_j3-issue-41328

avatar Hackwar Hackwar - change - 11 Aug 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 11 Aug 2023
avatar brianteeman
brianteeman - comment - 16 Aug 2023

I am unable to replicate this.

I changed the email for the following template
image

image

I registered a new user from the admin and the email received contained the correct replacement values
image

avatar Quy Quy - change - 15 Sep 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-09-15 03:28:48
Closed_By Quy
avatar Quy Quy - close - 15 Sep 2023
avatar Quy
Quy - comment - 15 Sep 2023

Closing due to no response from the poster.

Add a Comment

Login with GitHub to post a comment