Register : retire le lien « Déjà un compte ? Se connecter »
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.
This commit is contained in:
@@ -82,8 +82,4 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<nav class="liens" aria-label="Actions du compte">
|
|
||||||
<a routerLink="/login">Déjà un compte ? Se connecter</a>
|
|
||||||
</nav>
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
ValidationErrors,
|
ValidationErrors,
|
||||||
Validators
|
Validators
|
||||||
} from '@angular/forms';
|
} from '@angular/forms';
|
||||||
import { Router, RouterLink } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
|
|
||||||
import { AuthService } from '../../../core/services/auth.service';
|
import { AuthService } from '../../../core/services/auth.service';
|
||||||
import { NotificationService } from '../../../core/services/notification.service';
|
import { NotificationService } from '../../../core/services/notification.service';
|
||||||
@@ -47,7 +47,7 @@ function motsDePasseEgauxValidator(groupe: AbstractControl): ValidationErrors |
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-register',
|
selector: 'app-register',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [CommonModule, ReactiveFormsModule, RouterLink],
|
imports: [CommonModule, ReactiveFormsModule],
|
||||||
templateUrl: './register.component.html',
|
templateUrl: './register.component.html',
|
||||||
styleUrl: './register.component.scss'
|
styleUrl: './register.component.scss'
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user