Added logic to prevent login when email not confirmed #77
This commit is contained in:
@@ -74,6 +74,8 @@ export class LoginComponent implements OnInit {
|
||||
this.spinnerService.hideSpinner();
|
||||
this.router.navigate(["auth", "login"]).then(() => {
|
||||
});
|
||||
this.state = "";
|
||||
this.code = "";
|
||||
return throwError(() => err);
|
||||
})).subscribe(token => {
|
||||
this.authService.saveToken(token);
|
||||
|
Reference in New Issue
Block a user