From 40094a4fb13ed82e26f640f0ccf71d9cd1a46123 Mon Sep 17 00:00:00 2001 From: Nikolaz Date: Tue, 15 Sep 2026 20:22:11 +0200 Subject: [PATCH] =?UTF-8?q?Register=20:=20retire=20le=20lien=20=C2=AB=20D?= =?UTF-8?q?=C3=A9j=C3=A0=20un=20compte=20=3F=20Se=20connecter=20=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La page d'inscription n'est atteinte que lorsqu'aucun compte n'existe (application mono-utilisateur) : le lien vers la connexion n'a pas de sens. Import RouterLink devenu inutile retiré du composant. --- .../src/app/features/auth/register/register.component.html | 4 ---- frontend/src/app/features/auth/register/register.component.ts | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/features/auth/register/register.component.html b/frontend/src/app/features/auth/register/register.component.html index 38f2c07..a3d2e09 100644 --- a/frontend/src/app/features/auth/register/register.component.html +++ b/frontend/src/app/features/auth/register/register.component.html @@ -82,8 +82,4 @@ - - diff --git a/frontend/src/app/features/auth/register/register.component.ts b/frontend/src/app/features/auth/register/register.component.ts index af45485..3555302 100644 --- a/frontend/src/app/features/auth/register/register.component.ts +++ b/frontend/src/app/features/auth/register/register.component.ts @@ -9,7 +9,7 @@ import { ValidationErrors, Validators } from '@angular/forms'; -import { Router, RouterLink } from '@angular/router'; +import { Router } from '@angular/router'; import { AuthService } from '../../../core/services/auth.service'; import { NotificationService } from '../../../core/services/notification.service'; @@ -47,7 +47,7 @@ function motsDePasseEgauxValidator(groupe: AbstractControl): ValidationErrors | @Component({ selector: 'app-register', standalone: true, - imports: [CommonModule, ReactiveFormsModule, RouterLink], + imports: [CommonModule, ReactiveFormsModule], templateUrl: './register.component.html', styleUrl: './register.component.scss' })