Skip to Content Skip to Menu

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

verification code to reset password

  • azjr
  • azjr
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 2
8 years 6 months ago - 8 years 6 months ago #280513 by azjr
NOTE: I apologize if this was asked/answered somewhere on forum - searched and couldn't find.

at default, when user requests password reset (option=com_comprofiler&view=lostpassword) CB is sending a new auto-system-generated password via email in plain text - I would rather set to option as Joomla does: to send a verification code TO allow user to RESET their password - how do I set this up/ configure it in CB?
Thanks!
Last edit: 8 years 6 months ago by azjr. Reason: wasn't clear in my description

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280548 by krileon
Replied by krileon on topic verification code to reset password
We don't have such functionality. Our forgot login will always generate a new password and directly send it to them. We've a feature ticket already to basically rewrite how our forgot login behaviors to be more up to date with forgot logins usage standards in a later CB release.


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.

  • lousyfool
  • lousyfool
  • OFFLINE
  • Posts: 141
  • Thanks: 46
  • Karma: 5
8 years 6 months ago - 8 years 6 months ago #280711 by lousyfool
Replied by lousyfool on topic verification code to reset password
Needless to say, I'm not at all a fan of passwords being sent around per email, either... it's almost like sending credit card details per postcard.

Since many good things seem to take a long time here ;) I'm wondering if any of the password-related triggers in components/com_comprofiler/comprofiler.php could be utilized to make the new, emailed password valid for only a limited time. So, basically an Auto Action query which, a set time after it was emailed, deletes this new password again. `lastResetTime` and `lastvisitDate` in `#__users` could sure be helpful, hehe...

Thanks for any hints, Kyle.
Last edit: 8 years 6 months ago by lousyfool.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280747 by krileon
Replied by krileon on topic verification code to reset password

Needless to say, I'm not at all a fan of passwords being sent around per email, either... it's almost like sending credit card details per postcard.

I agree, which is why we forced password to stop sending in pending/welcome emails unless you explicitly configure it to do so via password substitution except when using generated passwords. The forgot login is the last thing remaining where password is emailed that we've yet to improve as we need to rewrite the forgot login usage entirely.

I guess a custom plugin or somehow CB Auto Actions could make a new forgot login usage, but I've put no thought into such a usecase. You're welcome to try I suppose. You'd probably need 4 auto actions; 1 for the HTML form, 1 to process form data, 1 to handle password reset form, and 1 to process password reset form.

Since many good things seem to take a long time here ;) I'm wondering if any of the password-related triggers in components/com_comprofiler/comprofiler.php could be utilized to make the new, emailed password valid for only a limited time. So, basically an Auto Action query which, a set time after it was emailed, deletes this new password again. `lastResetTime` and `lastvisitDate` in `#__users` could sure be helpful, hehe...

All the triggers available are listed in CB Auto Actions. There are some in regards to password reset. You could even hijack the entire forgot login page with CB Auto Actions to redirect a custom solution if you wanted as onLostPassForm is fired before the form is displayed and onStartNewPassword is fired before the form is processed.


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.
The following user(s) said Thank You: lousyfool

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

  • lousyfool
  • lousyfool
  • OFFLINE
  • Posts: 141
  • Thanks: 46
  • Karma: 5
8 years 6 months ago #280751 by lousyfool
Replied by lousyfool on topic verification code to reset password
Thanks Kyle,

I'll see if I can make something quick and easy. Don't mean to spend much time on it... because if I did, guaranteed you came with an reworked solution a few hours later, haha.

Oh BTW, what about the good old Joomla standard? Can I hijack your page and simply redirect to the native Joomla "Forgot password" page... perhaps after making that a menu item? Haven't tried that yet, I must admit...

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280753 by krileon
Replied by krileon on topic verification code to reset password

Oh BTW, what about the good old Joomla standard? Can I hijack your page and simply redirect to the native Joomla "Forgot password" page... perhaps after making that a menu item? Haven't tried that yet, I must admit...

Only if you turn off CBs ability to redirect away from Joomla user component within the Community Builder system plugin in Extensions > Plugins. If you don't turn this off you won't be able to access Joomlas forgot login at all.


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.
The following user(s) said Thank You: lousyfool

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

Moderators: beatnantkrileon
Powered by Kunena Forum