Update Password FTL

→ {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 Grama 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

Logic 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

Fileds

Validations

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

End Point

Request Method

Request 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 Utilised from Library

SL No

Widgets

File Path

Description

1

BuildTextField

Text Field

2

BottomButtonBar

Button

3

PasswordHint

Password Hint Card

Files Path

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.