Forgot password reset

Content Type: Module
Categories: Authentication

Overview

Enables the user to reset their own password by themselves. They will pass their email-address, receive an email with a reset-key, and get a popup where they can add the reset-key, the new password and the same password a second time. Safe and simple.

This module works for apps where either:

  • the System/User.Name is always an email-address;
  • the user’s email address is stored in Person/Person.EmailAddress;
  • the user’s email address is stored in Administration/Account.Email

 

Documentation

Demo urlhttps://mteducatieplanner100-sandbox.mxapps.io/

Description

Enables the user to reset their own password by themselves. They will pass their email-address, receive an email with a reset-key, and get a popup where they can add the reset-key, the new password and the same password a second time. Safe and simple.

Typical usage scenario

You want your app to have a user-friendly way to login and change their password to a new one.

Features and limitations

Uses the service EmailService to send the intsruction-email to the user.

Dependencies (optional)

Installation

  • Import this module
  • Add snippet "LoginPage_ForgotPassword" to your login-page
  • Determine how to send the email to the user. Either:
    • use SmcEmailService and SmcServiceConnector, import them and create a Smc-account
    • use your own setup, then modify Act_PasswordReset_ChangeUserAccountsPassword
  • Modify the emailtexts in PasswordReset_CreateAndSend_ResetConfirmationKey and Act_PasswordReset_ChangeUserAccountsPasswordAndinform

 

Releases

Version: 1.2.0
Framework Version: 9.12.6
Release Notes: Added the option to use this in apps that are using marketplace module Administration.
Version: 1.1.1
Framework Version: 9.12.6
Release Notes: - Added the option to use this in apps that are using marketplace module Person; - Improved the texts in both emails; - Improved management of the PasswordReset-objects;
Version: 1.0.0
Framework Version: 9.12.6
Release Notes: Version 1.0.0 First release, see Snip_ReadMe_ForgotPasswordModuleByUser