Skip to content

Commit

Permalink
fix: redirect urls
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Nov 10, 2023
1 parent 6606bcd commit 10b02eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class EventFilterComponent implements OnInit, OnDestroy {
modalRef.closed.subscribe(reason => {
if (reason === 'login') {
this.hideFilterIfNeeded.emit();
this.router.navigateByUrl("/u/login");
this.router.navigateByUrl("/user/login");
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class ConfirmEmailComponent implements OnInit {
"Confermà cun success tia adressa dad email",
"Ti pos ussa s'annunziar."
);
this.router.navigateByUrl("/u/login");
this.router.navigateByUrl("/user/login");
}, () => {
this.isCurrentlyValidating = false;
this.showInvalidCodeError = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class ConfirmPasswordComponent {
"Midà cun success test pled-clav",
"Ti pos ussa s'annunziar cun il nov pled-clav."
);
this.router.navigateByUrl("/u/login");
this.router.navigateByUrl("/user/login");
}, error => {
this.errorMessage = {
type: 'danger',
Expand Down
2 changes: 1 addition & 1 deletion src/app/user-area/pages/register/register.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class RegisterComponent implements OnInit {
'Registrà cun success',
"Ti retschaivas bainprest in e-mail. Confermar p.pl. tia adressa dad e-mail per cuntinuar."
);
this.router.navigateByUrl("/u/login");
this.router.navigateByUrl("/user/login");
}, error => {
console.error(error);
this.didSubmit = false;
Expand Down

0 comments on commit 10b02eb

Please sign in to comment.