Open Closed

E-mail confirmation setInterval #8837


User avatar
0
ademaygun created
  • ABP Framework version: v9.0.0
  • UI Type: MVC
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • No Exception
  • Steps to reproduce the issue:
    • Create an Abp Project
    • Select "Require confirmed email" option in Administration -> Settings -> Sign in Settings
    • Logout and Register for a new user

In an ABP application where email verification is mandatory, when a user clicks the 'verify' button during registration, a confirmation token email is sent from confirmuser.js. Then, the confirmation status is checked every 3 seconds using setInterval. However, there’s currently no timeout mechanism. Instead, it might be better to use WebSocket or setTimeout (for example, checking up to 20 times every 3 seconds). Additionally, if a 'Resend' button is displayed when the timeout expires, users can resend the confirmation email, creating a more flexible and user-friendly experience. Thanks.


1 Answer(s)
  • User Avatar
    1
    enisn created
    Support Team .NET Developer

    Hi there,

    Thanks for sharing this case. The suggested way by you might be another good approach. But we maintain different UI types at the same time. Implementing a new logic and updating each UI will take some time, but I created an internal issue for this. We'll work on this topic in the newer versions instead patching current version.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08