-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Hi !
Resolvers are run simultaneously and thus, if you are more than one, when calling the verify method from NgHcaptchaService, the second resolver does not complete because the hCaptchaWidgetId variable is already set and the resetHcaptcha method is not called in the first resolver before the second starts (sorry if this is confusing).
The only workaround I found is manually instantiating the service rather than relying on Angular dependency injection mechanism.
Shouldn't the subscriber be completed regardless of the variable state instead ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels