Skip to content
Snippets Groups Projects
Commit 70319710 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

feat: handle sign-in with form

parent 1835b479
No related branches found
No related tags found
2 merge requests!85Recette,!84Dev
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</div> </div>
<app-signup-modal *ngIf="displaySignUp" [openned]="isPopUpOpen" (closed)="closeSignUpModal($event)"></app-signup-modal> <app-signup-modal *ngIf="displaySignUp" [openned]="isPopUpOpen" (closed)="closeSignUpModal($event)"></app-signup-modal>
<app-signin-modal *ngIf="!displaySignUp" [openned]="isPopUpOpen" (closed)="closeSignInModal()"></app-signin-modal> <!-- <app-signin-modal *ngIf="!displaySignUp" [openned]="isPopUpOpen" (closed)="closeSignInModal()"></app-signin-modal> -->
<ng-template #customTitle> <ng-template #customTitle>
<img class="desktop-show logo-grand-lyon" src="/assets/logos/resin.svg" alt /> <img class="desktop-show logo-grand-lyon" src="/assets/logos/resin.svg" alt />
......
...@@ -52,15 +52,4 @@ ...@@ -52,15 +52,4 @@
</div> </div>
</div> </div>
</div> </div>
<div>
<div *ngIf="userProfile" fxLayout="column" fxLayoutAlign="center" fxLayoutGap="10px">
<p fxLayout="column" *ngIf="userProfile.pendingStructuresLink.length > 0">
Mes structures en attente de validation:
<span *ngFor="let structureId of userProfile.pendingStructuresLink">
<strong>{{ structureId }}</strong>
</span>
</p>
</div>
</div>
</div> </div>
...@@ -46,7 +46,8 @@ export class SignUpModalComponent implements OnInit { ...@@ -46,7 +46,8 @@ export class SignUpModalComponent implements OnInit {
} }
public sendSwitchToSignIn(): void { public sendSwitchToSignIn(): void {
this.closed.emit(false); this.closed.emit(true);
this.router.navigate(['/create-structure']);
} }
public swithToResetPassword(): void { public swithToResetPassword(): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment