LogoLogo
v1.0
v1.0
  • mGramSeva
    • Technology
    • Architecture
    • Demo video
    • Product Docs
      • Functional Docs
        • Login & Forgot Password
        • User Roles & Home Screen
        • Create Consumer
        • Search Consumer
        • Edit Consumer
        • View Consumer
        • Billing - Bulk Demand Generation
        • Billing - Metered Connection
        • Revenue Collection - Offline
        • Expenditure - Add Expense
        • Expenditure - Modify Expense
        • User Onboarding - Bulk Upload
        • User Onboarding/Walkthrough
        • Feedback - Post Payment
        • SMS Notifications
        • Home Page Notifications
        • Edit User Profile
        • Bill and Receipt PDF
        • Update Expense Search
        • Bulk Demand Generation For Non-Metered Connection
        • Demand/Bill Generation For Metered Connection
        • Household Register
        • Tabular Dashboard - Expense
        • Tabular Dashboard - Collection
        • Download Bills & Receipt
      • Technical User Docs
        • Application Structure
        • Firebase Analytics Integration
        • Integration Testing
        • Integration Testing With Github Actions
        • Backend Services
          • mGramSeva - Water Services
          • mGramSeva - Water Service Calculator
          • mGramSeva e-Challan Service
          • mGramSeva - User Service
          • mGramSeva - Billing Service
          • mGramSeva - User OTP
          • iFix Adapter Integration Service
          • mGramSeva - Rollout Dashboard
          • mGramSeva Scheduler
          • mGramSeva- Services Re-Indexing
          • mGramSeva Dashboard
        • Tech User Manual
          • Language Selection
          • Login
          • Change Password
          • Edit Profile
          • Home Page
          • Forgot Password
          • Update Password FTL
          • Generate Bill
          • Search Connection
          • Consumer Details
            • Create Consumer
            • Update Consumer
          • Expenses
            • Add Expenses
            • Search Expense Bills
            • Modify Expenses
          • Dashboards
            • Monthly Dashboard
            • Collections Dashboard
            • Expenditure Dashboard
          • Collect Payment
          • Consumer Feedback
          • Household Register
          • Bluetooth Thermal Printer Integration
        • Application Permissions & Dependencies
        • mGramSeva UI
          • UI Mockups
          • mGramSeva UI
      • User Docs
        • User Manual
    • Installation
    • Configuration
  • 🚻Community
    • Roadmap
    • Source Code
    • Discussion
    • Events
    • Training & Certification
Powered by GitBook

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

On this page
  • Overview
  • User Interaction On Screen
  • Password Hint Card
  • Files Path
  • L
  • ogic for Tenant Filtration
  • Field Validations
  • API Details
  • Stack
  • Files Path
  1. mGramSeva
  2. Product Docs
  3. Technical User Docs
  4. Tech User Manual

Update Password FTL

PreviousForgot PasswordNextGenerate Bill

Last updated 2 years ago

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.
Fields
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.No.
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 Utilized from library

SL.No.
Widgets
File Path
Description

1

BuildTextField

Text Field

2

BottomButtonBar

Button

3

PasswordHint

Password Hint Card

Files Path

View →

Controller →

https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/TextFieldBuilder.dart
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/BottonButtonBar.dart
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/PasswordHint.dart
punjab-mgramseva/Updatepassword.dart at develop · egovernments/punjab-mgramsevaGitHub
punjab-mgramseva/Updatepassword.dart at develop · egovernments/punjab-mgramsevaGitHub
punjab-mgramseva/tendants_repo.dart at develop · egovernments/punjab-mgramsevaGitHub
Logo
Logo
Logo