Update Password
Users are redirected to the Update Password screen once they log in successfully the first time.
Link: → {base url}/mgramseva/selectLanguage/login/updatepassword
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 match 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:
Logic For Tenant Filtration
Fetch the tenants from MDMS, based on the user roles in the user request filtering the tenants by comparing tenant IDs.
Field Validations
Enter the OTP sent *
r'^[0-9]+$'
, 6 digit
Enter a New Password*
r'^(?=.*?[A-Za-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{6,}$'
Confirm New Password
Match with New Password
API Details
user/password/nologin/_update
POST
"otpReference": {}, "userName": {}, "newPassword": {}, "tenantId": {}, "type": “Employee”
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 the library
BuildTextField
Text Field
BottomButtonBar
Button
PasswordHint
Password Hint Card
Files Path
View →
Controller →
Last updated
Was this helpful?