Base solution for your next web application
Open Closed

Confirm email - redirect to login page does not work #10508


User avatar
0
jasonreid created

Prerequisites

  • What is your product version? 10.4
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net Core

SweetAlert2 onClose option depereciated and no longer works replace with willClose

this._accountService.activateEmail(this.model)
                .subscribe(() => {
                    this.notify.success(this.l('YourEmailIsConfirmedMessage'), '',
                        {
                            willClose: () => {
                                this._router.navigate(['account/login']);
                            }
                        });
                });

1 Answer(s)