All pages
Powered by GitBook
1 of 1

Loading...

Update Password FTL

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 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 ( !#$%^&...)

Files Path

Primary Files

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

API Details

Stack

1 → Language Selection Screen. + Login Screen + Update Password + Update password success

Pop → Login

Widgets Utilised from Library

Files Path

View →

Controller →

All content on this page by is licensed under a .

At least one letter
  • At least one number

  • Password Hint Card

    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

    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"} ], }, ] }

    SL No

    Widgets

    File Path

    Description

    1

    BuildTextField

    punjab-mgramseva/TextFieldBuilder.dart at develop · egovernments/punjab-mgramseva

    Text Field

    2

    BottomButtonBar

    punjab-mgramseva/BottonButtonBar.dart at develop · egovernments/punjab-mgramseva

    Button

    3

    punjab-mgramseva/Updatepassword.dart at develop · egovernments/punjab-mgramseva
    punjab-mgramseva/Updatepassword.dart at develop · egovernments/punjab-mgramseva
    punjab-mgramseva/tendants_repo.dart at develop · egovernments/punjab-mgramseva
    ​
    eGov Foundation
    Creative Commons Attribution 4.0 International License

    PasswordHint

    punjab-mgramseva/PasswordHint.dart at develop · egovernments/punjab-mgramseva
    Creative Commons License