Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] CB Registration Pending Approval Email and Autoactions

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
11 years 4 months ago - 11 years 4 months ago #228456 by boyjahq
[var1_password] works--problem solved
Last edit: 11 years 4 months ago by boyjahq.

Please Log in or Create an account to join the conversation.

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
8 years 8 months ago #278394 by boyjahq
I am now trying to move our site over to Joomla! 3.4.8 using CB 2.0.13 and auto actions 6.2.3

On our current site (not dev site) which uses:

Auto Actions 4.0.0
CBSubs 3
CB 1.9
Joomla 2.5

Using [var1_password] in the language file for the auto generated email, the password was properly included in the email.

Now with Joomla! 3.4.8 using CB 2.0.13 and auto actions 6.2.3 the password in the email is encrypted. Here is an example:

Password: $2y$10$wQ2bo.33IgT.YJEGl0d5GeDAfWxm2a.1uscECalnSThK6a1S5eHVW

I tried using [password] and [PASSWORD] but they are output in the mail as [password] and [PASSWORD]

How can I send the correct password to users in the initial confirmation mail?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #278423 by krileon
Your action is firing too late then and the password has already become encrypted. You need to use an extremely early trigger like onAfterUserRegistration or maybe onAfterUserRegistrationMailsSent or onAfterSaveUserRegistration will work. The [password] substitution is only useful if the password is in the POST otherwise [var1_password] should be used.

Don't know if this usage will even work anymore. We've locked down our usage of plaintext password except when using auto generated passwords. Sending plaintext password in email is a security risk and goes against latest security best standards so we've stopped doing it (you can force it with [PASSWORD] in Pending email).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
8 years 7 months ago #279996 by boyjahq
I have tried every possible combination and it appears that there is no way in the current CB to include the password in the Pending email. Since that is the case, please consider removing the erroneous tool tip for Pending Email Body and Welcome Email Body which still says that [DETAILS] and [PASSWORD] are viable substitutions.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #280023 by krileon
Password can be sent, but it depends entirely on your configuration. If you've CBSubs then you need to send confirmation before payment and you can include [password] in the pending email. You can never send the password in the welcome email unless you're using generated passwords or confirmation/approval are both disabled.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum