mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-28 02:00:57 +00:00
The verify step now returns an encrypted verificationToken alongside the readable identity. After the existing signup succeeds, the page posts it to POST /profiles/me/fayda, which marks the phone verified when it is the one Fayda vouched for and fills the still-empty profile fields. Best-effort: the account already works if the call fails, and the token can be presented again. When the server confirms the phone, the page goes straight to the portal instead of /otp-verify — Fayda already verified that exact number with its own OTP, and asking for a second one on the same number is theatre. An applicant who edited the prefilled number still gets the normal OTP step.