- What is your product version? v10.2.0
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .Net Core
Hi, When you click on the activation link in the membership activation mail, you are directed to the login page without a confirmation message on the opened page.
on page src/account/email-activation/confirm-email-component.ts;
this.notify.success(this.l('YourEmailIsConfirmedMessage'), '', { onClose: () => { this._router.navigate(['account/login']); } });
Even though I removed the "this._router.navigate(['account/login']);" code, the redirect was not disabled.
I want redirection after the user sees the "Email address has been confirmed" message and clicks the "Okey" button.
Thank you for your help in advance.
4 Answer(s)
-
0
Hi @QuickApp
You can call redirection using a setTimeout function. It will be good if we do the same in AspNet Zero. Thank you for pointing it out.
-
0
Which page should I add the setTimeOut parameter to?
-
0
Hi,
Sorry for my late reply, you need to add it to
confirm-email-component.ts
-
0
Thank you for your help @ismcagdas