From 7232a21ad41fffd63272b3bec7afe49f961fba53 Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Tue, 13 Apr 2021 15:23:49 +0200 Subject: [PATCH] redirection on login now to acteurs --- .../shared/components/signup-modal/signup-modal.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/components/signup-modal/signup-modal.component.ts b/src/app/shared/components/signup-modal/signup-modal.component.ts index 128646d1b..1ea02ace1 100644 --- a/src/app/shared/components/signup-modal/signup-modal.component.ts +++ b/src/app/shared/components/signup-modal/signup-modal.component.ts @@ -33,7 +33,7 @@ export class SignUpModalComponent implements OnInit { password: ['', [Validators.required, Validators.pattern(CustomRegExp.PASSWORD)]], }); // get return url from route parameters or default to '/' - this.returnUrl = this.route.snapshot.queryParams['returnUrl'] || '/'; + this.returnUrl = this.route.snapshot.queryParams['returnUrl'] || '/acteurs'; } // getter for form fields -- GitLab