Remove password from registration emails

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
cjchamberland
Newbie
Posts: 4
Joined: Thu Jun 20, 2019 7:04 pm
Version: forma.lms 2.0

Remove password from registration emails

Post by cjchamberland »

I've modified the lang[english].xml, to remove passwords from being send in the registration email, however it is still being sent. I've changed the following:

<key id="email&amp;_REGISTERED_USER_TEXT" attributes="email" save_date="2015-09-30 15:32:23"><![CDATA[You are now registered in our system at <a href="/[url]">[url]</a>
with this account:

Username: [userid]
Password: [password]]]></key>

To just be:

<key id="email&amp;_REGISTERED_USER_TEXT" attributes="email" save_date="2015-09-30 15:32:23"><![CDATA[You are now registered in our system at <a href="/[url]">[url]</a>
with this account:

Username: [userid]
]]></key>

But the email still gives me "You are now registered in our system at https://site.com/ with this account: Username: salfkjsd Password: changeme"

How can I remove all passwords from emails?

alfa24
Senior Boarder
Posts: 931
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Remove password from registration emails

Post by alfa24 »

You need to change the key in the language module.
XML files are used during the installation process to populate core_lang* tables.
I'm Jasmines, the One. If you need, you can contact me.

cjchamberland
Newbie
Posts: 4
Joined: Thu Jun 20, 2019 7:04 pm
Version: forma.lms 2.0

Re: Remove password from registration emails

Post by cjchamberland »

Thank you - that worked.

User avatar
max
FormaLms Guru
Posts: 2353
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Remove password from registration emails

Post by max »

Yes, it's enough to do like this
Cattura.PNG
Cattura.PNG (4.42 KiB) Viewed 1580 times
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it

JBurg
Newbie
Posts: 5
Joined: Mon Jun 15, 2020 6:57 pm

Re: Remove password from registration emails

Post by JBurg »

Could someone point me at the specific file and file location for this change? I'm not sure exactly what the language module is.

Thanks

User avatar
max
FormaLms Guru
Posts: 2353
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Remove password from registration emails

Post by max »

You don't have to modify any file.

All labels and all the wording that you can find in the UI is managed by the interface itself.

Language management is in the administration area, in the Settings menu. The last item.
When you reach it, just click on the "translate" button and look for that wording ("you have been registered...").
You will find the translation key you're looking for and be able to edit it inline.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it

JBurg
Newbie
Posts: 5
Joined: Mon Jun 15, 2020 6:57 pm

Re: Remove password from registration emails

Post by JBurg »

Thanks, I appreciate the clarity! All fixed now.

Post Reply