Change Password

Link. → {base url}/mgramseva/home/changepassword.

Users are redirected to this screen if they click on the Change Password option in the Side Bar app Drawer.

User Interaction on Screen

  • Enter the Current Password

  • Enter and Confirm a New Password to set the login credentials for next time login

  • Click the Change Password Button. The user login password is set to the new password.

Password Hint Card

  • This feature helps match the user password to the requirements and checks if the password contains

    • Minimum 6 digits

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

    • At least one letter

    • Atleast one number

File Path

Primary Files: https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/ChangePassword/Changepassword.dart

 

Field Validations

SL

Fileds

Validations

SL

Fileds

Validations

1

Current Password*

No Validation

2

Set 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

SL

End Point

Request Method

Request Info

1

user/password/_update

POST

"userName": {},
"existingPassword": {},
"newPassword": {},
"tenantId": {},
"type": {}

Stack

1 → Home Screen. + Change Password Screen

Pop → Home Screen

Widgets Utilised from Library