Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

[Added] Welcome Email & One Time Password

Information about updates, news, Code Library
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

[Added] Welcome Email & One Time Password

Unread post by admin »

🔐 Password Change at First Login:
Upon user creation, we've implemented a new default setting. The "User must change password at next logon." This extra layer of security ensures your account's safety from the get-go.


💌 Welcome Email:
But that's not all! We also have a special "welcome email" waiting for you. When you create your account, you'll find an option to check the "Send welcome email" box. Tick it, and we'll send you a warm and informative welcome email crafted with care, using our default email template.

user_options.png
user_options.png (21.67 KiB) Viewed 2538 times

🔑 Password Change Prompt:
When you log in for the first time, you'll be greeted with a password change dialog. This is your chance to create a personalised and secure password. Once you successfully change your password, the "User must change password at next logon" flag is instantly removed from our database.


📧 Customisation Options:
We understand that one size doesn't fit all. So, if you want to customise your welcome email experience, here's how:


1. Email Template: You can clone the "nuWelcomeEmailTemplate," which will automatically be renamed to "nuWelcomeEmail" upon cloning. Feel free to rename it in the code field to suit your preferences

2. PHP Code Adjustment: Clone the "NUSENDWELCOMEEMAIL_Template" procedure, which will also be renamed to "nuSendWelcomeEmail." In the PHP code, make sure to replace "nuWelcomeEmailTemplate" with the code field of the email template you created in step 1.


💡 Advanced Customisation:
For the tech-savvy, you can take your customisation a step further. Enhance the code to enable sending distinct email templates based on various factors like languages or other criteria.


🔄 Upcoming Feature:
Lastly, we want to share a sneak peek into the future. While our One-Time Password (OTP) currently doesn't have a time limit, we're actively working on implementing this feature to further bolster your account's security.
Post Reply