Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • A Ahad Mobile
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • holatech
  • Ahad Mobile
  • Merge requests
  • !20

fix(auth): show signup and OTP errors as toasts

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Ngoc Duong requested to merge fix/signin-signup into develop Aug 24, 2026
  • Overview 0
  • Commits 3
  • Pipelines 1
  • Changes 24

Signup, verify-account and OTP verification routed every failure through the global error modal, which blocked the whole screen for recoverable input errors such as an already-registered email or a wrong OTP code.

  • add ErrorHandler.showError plus extractApiErrorMessage to pull a single readable message out of an API error response
  • suppress the global error modal around the signup and verify-email calls so those screens can show their own toast
  • invalidate previously issued email verify tokens on resend, so only the latest code can pass
  • pass the real safe-area top inset to FlashMessage, whose own iPhone-X detection under-estimates it on Dynamic Island devices
  • raise the login password minimum to 8 characters to match the API
  • drop the unused back handler on the create account screen and even out the OTP and verify button heights
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/signin-signup