Update Password FTL

Overview

Link: → {base url}/mgramseva/selectLanguage/login/updatepassword

Users are redirected to the Update Password screen once they log in successfully the first time.

User Interaction On Screen

  • Enter the OTP sent on the user’s 10 digit Mobile Number.

  • Set the new password for logging into the application.

  • Click on Change Password to apply new password credentials for the user.

  • Users can see the allocated Gram Panchayat name and code in the table.

Password Hint Card

This feature helps to Match with the user’s password and check if the Password contains

  • Minimum 6 digits

  • At least one special character ( !#$%^&...)

  • At least one letter

  • At least one number

Files Path

Primary Files

L

ogic for Tenant Filtration

Fetching the tenants from MDMS, based on the user roles in the user request filtering the tenants by comparing tenant Id.

Field Validations

SL. No.FieldsValidations

1

Enter the OTP sent *

r'^[0-9]+$' , 6 digit

2

Enter a New Password*

r'^(?=.*?[A-Za-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{6,}$'

3

Confirm New Password

Match with New Password

API Details

SL.No.End PointRequest MethodRequest Info

1

user/password/nologin/_update

POST

"otpReference": {}, "userName": {}, "newPassword": {}, "tenantId": {}, "type": “Employee”

2

egov-mdms-service/v1/_search

POST

"MdmsCriteria": { "tenantId": tenantId, "moduleDetails": [ { "moduleName": "tenant", "masterDetails": [ {"name": "tenants"} ], }, ] }

Stack

1 → Language selection screen + Login screen + Update password + Update password success

Pop → Login

Widgets Utilized from library

Files Path

View →

Controller →

Last updated