Skip to content

Commit bcb7871

Browse files
feat: add option to hide connected user panel
1 parent b768cdc commit bcb7871

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

projects/ngx-auth-firebaseui/src/lib/components/ngx-auth-firebaseui/auth.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ng-container *ngIf="authProcess.user$ | async as user; else showForm">
1+
<ng-container *ngIf="(authProcess.user$ | async as user) && connectedUserPanelEnabled; else showForm">
22

33
<!-- This component will be shown when:
44
- we just sent a verification mail (notably after sign up)

projects/ngx-auth-firebaseui/src/lib/components/ngx-auth-firebaseui/auth.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export class AuthComponent implements OnInit, AfterViewInit, OnChanges, OnDestro
7171
@Input() tabIndex: number | null;
7272
@Input() registrationEnabled = true;
7373
@Input() resetPasswordEnabled = true;
74+
@Input() connectedUserPanelEnabled = true;
7475
@Input() guestEnabled = true;
7576
@Input() tosUrl: string;
7677
@Input() privacyPolicyUrl: string;

0 commit comments

Comments
 (0)