Overview
The Reset Password feature allows an administrator to reset the password of any user in the Sparkflows application when using Database Authentication.
This feature enables administrators to manage user credentials by initiating password resets and automatically notifying users of their new passwords through email.
Purpose
The Reset Password functionality is designed to:
-
Allow administrators to reset passwords for existing users.
-
Help users regain access to their accounts when they forget their passwords.
-
Enable administrators to enforce password changes for security purposes.
-
Automatically notify users of their updated credentials via email.
Prerequisites
Before enabling the Reset Password feature, ensure that:
-
The application is configured to use Database Authentication.
-
You have administrator-level access to the Sparkflows application.
-
Email/SMTP configuration is correctly configured and working.
-
Users have valid email addresses registered in the application.
Configuration and Setup
Step 1: Enable the Reset Password Feature
-
Log in to Sparkflows using an administrator account.
-
Navigate to Administration → Config → Module.
-
Search for the following configuration key:
module.enableResetPassword -
By default, this configuration is set to
false. -
Change the value to
trueto enable the Reset Password feature. -
Save the configuration changes.
Reference Image:
Step 2: Verify the Reset Password Option
-
Navigate to Administration → User Management.
-
Open the Users tab.
-
Locate the Actions section for the required user.
-
Verify that the Reset Password icon is available for each user.
Reference Image:
Step 3: Reset a User’s Password
-
Locate the user whose password needs to be reset.
-
Click the Reset Password icon under the Actions section.
-
Enter the new password in the provided input field.
-
Confirm the action to complete the password reset.
Reference Image:
Step 4: Password Notification
Once the password reset operation is completed:
-
The new password is automatically sent to the user’s registered email address.
-
The user receives an email notification containing the updated login credentials.
-
The user can log in to Sparkflows using the new password.
Email Configuration
The Reset Password feature depends on the application’s email configuration to deliver password notifications.
Ensure that:
-
SMTP server details are correctly configured.
-
Valid SMTP credentials are provided.
-
The sender email address is configured.
-
The application server can connect to the configured SMTP server.
-
Email delivery is working correctly.
If the email notification is not received, verify the SMTP configuration and application logs.
Important Notes
-
This feature is applicable when using Database Authentication.
-
The configuration key
module.enableResetPasswordmust be set totrue. -
Only users with administrator privileges should have access to this functionality.
-
Ensure that the user’s registered email address is valid.
-
Verify email configuration before using the feature.
-
Handle temporary passwords securely and follow your organization’s password security policies.
Summary
The Reset Password feature provides administrators with a convenient way to manage user credentials in Sparkflows. Once enabled, administrators can reset user passwords directly from User Management, and the updated credentials are automatically communicated to users through email.