diff --git a/src/app/modules/dashboard/container/cla-dashboard/cla-dashboard.component.ts b/src/app/modules/dashboard/container/cla-dashboard/cla-dashboard.component.ts
index 54cb16ab..cfb47a37 100644
--- a/src/app/modules/dashboard/container/cla-dashboard/cla-dashboard.component.ts
+++ b/src/app/modules/dashboard/container/cla-dashboard/cla-dashboard.component.ts
@@ -8,6 +8,8 @@ import { StorageService } from 'src/app/shared/services/storage.service';
import { AlertService } from 'src/app/shared/services/alert.service';
import { AppSettings } from 'src/app/config/app-settings';
import { ClaContributorService } from 'src/app/core/services/cla-contributor.service';
+import { AuthService } from 'src/app/shared/services/auth.service';
+import detectIncognito from 'detectincognitojs';
@Component({
selector: 'app-cla-dashboard',
@@ -17,42 +19,81 @@ import { ClaContributorService } from 'src/app/core/services/cla-contributor.ser
export class ClaDashboardComponent implements OnInit {
projectId: string;
userId: string;
- corporateHightlights: string[];
- individualHightlights: string[];
+ corporateHightLights: string[];
+ individualHightLights: string[];
corporateContributor = 'Corporate Contributor';
individualContributor = 'Individual Contributor';
exitEasyCLA = 'exitEasyCLA';
hasError: boolean;
+ hasPrivateWindow: boolean;
project = new ProjectModel();
+
constructor(
private route: ActivatedRoute,
private router: Router,
private storageService: StorageService,
private alertService: AlertService,
- private claContributorService: ClaContributorService
+ private claContributorService: ClaContributorService,
+ private authService:AuthService
) {
- this.storageService.removeGerritItems();
- this.storageService.setItem(AppSettings.HAS_GERRIT, false);
- this.projectId = this.route.snapshot.paramMap.get('projectId');
- this.userId = this.route.snapshot.paramMap.get('userId');
- const redirect = this.route.snapshot.queryParamMap.get('redirect');
- this.storageService.setItem(AppSettings.REDIRECT, redirect);
- this.hasErrorPresent();
- }
- ngOnInit(): void {
- this.corporateHightlights = [
+ this.corporateHightLights = [
'If you are making a contribution of content owned by your employer, you should proceed as a corporate contributor.',
'The Corporate CLA process requires you to be approved by your organization\'s CLA Manager. A CLA Manager at your organization will receive your request via email immediately after you submit it. To expedite the process, you can follow up with them directly.',
'If your organization has not yet signed a CLA for this project, you will be able to coordinate designating a CLA Manager and having the CLA signed by someone at your organization who is authorized to sign.',
'If your organization is not registered, then you can optionally create a profile for your organization during the CLA authorization process.'
];
- this.individualHightlights = [
+ this.individualHightLights = [
'If you are making a contribution of content that you own, and not content owned by your employer, you should proceed as an individual contributor.',
'If you are in doubt whether your contribution is owned by you or your employer, you should check with your employer or an attorney.'
];
+ }
+
+ ngOnInit(): void {
+ this.storageService.removeItem(AppSettings.PROJECT)
+ this.storageService.removeGerritItems();
+ this.storageService.setItem(AppSettings.HAS_GERRIT, false);
+ this.projectId = this.route.snapshot.paramMap.get('projectId');
+ this.userId = this.route.snapshot.paramMap.get('userId');
+ const redirect = this.route.snapshot.queryParamMap.get('redirect');
+
+ this.project = JSON.parse(this.storageService.getItem(AppSettings.PROJECT));
+ this.storageService.setItem(AppSettings.REDIRECT, redirect);
+ this.storageService.setItem(AppSettings.PROJECT_ID, this.route.snapshot.paramMap.get('projectId'));
+ this.storageService.setItem(AppSettings.USER_ID, this.route.snapshot.paramMap.get('userId'));
+
+ this.hasErrorPresent();
+
+ detectIncognito().then((result) => {
+ this.hasPrivateWindow = result.isPrivate;
+ if(this.hasPrivateWindow){
+ this.alertService.error('There are some features that will not work in a private window, as this site requires cookies');
+ }
+ });
+
+ this.authService.loading$.subscribe((loading) => {
+ if (!loading) {
+ this.authService.isAuthenticated$.subscribe((authenticated) => {
+ if (!authenticated && !this.hasPrivateWindow) {
+ this.authService.login();
+ }
+ });
+ }
+ });
+ }
+
+ public get hasCclaEnabled():boolean{
+ return this.project?.project_ccla_enabled && !this.hasError;
+ }
+
+ public get hasIclaEnabled():boolean{
+ return this.project?.project_icla_enabled && !this.hasError;
+ }
+
+ setProject(project){
+ this.project = project;
}
@@ -82,13 +123,6 @@ export class ClaDashboardComponent implements OnInit {
}
}
- onAPILoad(APIType: string) {
- if (APIType === 'Project') {
- this.project = JSON.parse(this.storageService.getItem(AppSettings.PROJECT));
- }
- }
-
-
onExitEasyCLA() {
const redirectUrl = JSON.parse(this.storageService.getItem(AppSettings.REDIRECT));
if (redirectUrl !== null) {
diff --git a/src/app/modules/dashboard/dashboard.module.ts b/src/app/modules/dashboard/dashboard.module.ts
index 2f0151b8..be6f2c76 100644
--- a/src/app/modules/dashboard/dashboard.module.ts
+++ b/src/app/modules/dashboard/dashboard.module.ts
@@ -8,12 +8,14 @@ import {DashboardContributorCardComponent} from './component/dashboard-contribut
import {SharedModule} from 'src/app/shared/shared.module';
import {DashboardContributorButtonsComponent} from './component/dashboard-contributor-buttons/dashboard-contributor-buttons.component';
import {GerritDashboardComponent} from './container/gerrit-dashboard/gerrit-dashboard.component';
+import { AuthDashboardComponent } from './container/auth-dashboard/auth-dashboard.component';
@NgModule({
declarations: [ClaDashboardComponent,
DashboardContributorCardComponent,
DashboardContributorButtonsComponent,
- GerritDashboardComponent
+ GerritDashboardComponent,
+ AuthDashboardComponent
],
imports: [
CommonModule,
diff --git a/src/app/modules/individual-contributor/container/individual-dashboard/individual-dashboard.component.html b/src/app/modules/individual-contributor/container/individual-dashboard/individual-dashboard.component.html
index 55f00fff..05640278 100644
--- a/src/app/modules/individual-contributor/container/individual-dashboard/individual-dashboard.component.html
+++ b/src/app/modules/individual-contributor/container/individual-dashboard/individual-dashboard.component.html
@@ -1,7 +1,7 @@
-
+
diff --git a/src/app/shared/components/alert/alert.component.scss b/src/app/shared/components/alert/alert.component.scss
index d1f632eb..ba15b9cd 100644
--- a/src/app/shared/components/alert/alert.component.scss
+++ b/src/app/shared/components/alert/alert.component.scss
@@ -3,7 +3,6 @@
.alert {
left: 0;
- position: fixed;
width: 100%;
z-index: 1000;
}
diff --git a/src/app/shared/components/auth/auth.component.html b/src/app/shared/components/auth/auth.component.html
deleted file mode 100644
index d48c54ba..00000000
--- a/src/app/shared/components/auth/auth.component.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/src/app/shared/components/auth/auth.component.scss b/src/app/shared/components/auth/auth.component.scss
deleted file mode 100644
index 8134a7f8..00000000
--- a/src/app/shared/components/auth/auth.component.scss
+++ /dev/null
@@ -1,11 +0,0 @@
-/* Copyright The Linux Foundation and each contributor to CommunityBridge.
- SPDX-License-Identifier: MIT -->*/
- .row {
- height: calc(100vh - 262px) !important;
- .not-found {
- font-size: 18px;
- text-align: center;
- font-weight: bold;
- }
- }
-
\ No newline at end of file
diff --git a/src/app/shared/components/auth/auth.component.spec.ts b/src/app/shared/components/auth/auth.component.spec.ts
deleted file mode 100644
index 6a2bbc81..00000000
--- a/src/app/shared/components/auth/auth.component.spec.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright The Linux Foundation and each contributor to CommunityBridge.
-// SPDX-License-Identifier: MIT
-
-import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
-
-import { AuthComponent } from './auth.component';
-
-describe('AuthComponent', () => {
- let component: AuthComponent;
- let fixture: ComponentFixture
;
-
- beforeEach(waitForAsync(() => {
- TestBed.configureTestingModule({
- declarations: [ AuthComponent ]
- })
- .compileComponents();
- }));
-
- beforeEach(() => {
- fixture = TestBed.createComponent(AuthComponent);
- component = fixture.componentInstance;
- fixture.detectChanges();
- });
-
- it('should create', () => {
- expect(component).toBeTruthy();
- });
-});
diff --git a/src/app/shared/components/auth/auth.component.ts b/src/app/shared/components/auth/auth.component.ts
deleted file mode 100644
index dd0fa887..00000000
--- a/src/app/shared/components/auth/auth.component.ts
+++ /dev/null
@@ -1,191 +0,0 @@
-// Copyright The Linux Foundation and each contributor to CommunityBridge.
-// SPDX-License-Identifier: MIT
-
-import { Component, OnInit } from '@angular/core';
-import { Router } from '@angular/router';
-import { AppSettings } from 'src/app/config/app-settings';
-import { GerritUserModel } from 'src/app/core/models/gerrit';
-import { ProjectModel } from 'src/app/core/models/project';
-import { ClaContributorService } from 'src/app/core/services/cla-contributor.service';
-import { AlertService } from '../../services/alert.service';
-import { AuthService } from '../../services/auth.service';
-import { StorageService } from '../../services/storage.service';
-
-@Component({
- selector: 'app-auth',
- templateUrl: './auth.component.html',
- styleUrls: ['./auth.component.scss'],
-})
-export class AuthComponent implements OnInit {
- message: string;
- contractType: string;
- projectId: string;
- hasGerrit: string;
- userId: string;
- actionType: string;
- previousURL: string;
-
- constructor(
- private storageService: StorageService,
- private router: Router,
- private claContributorService: ClaContributorService,
- private alertService: AlertService,
- private authService: AuthService
- ) {}
-
- ngOnInit(): void {
- this.contractType = JSON.parse(
- this.storageService.getItem(AppSettings.CONTRACT_TYPE)
- );
- this.hasGerrit = JSON.parse(
- this.storageService.getItem(AppSettings.HAS_GERRIT)
- );
- this.actionType = JSON.parse(
- this.storageService.getItem(AppSettings.ACTION_TYPE)
- );
- this.projectId = JSON.parse(
- this.storageService.getItem(AppSettings.PROJECT_ID)
- );
- this.userId = JSON.parse(this.storageService.getItem(AppSettings.USER_ID));
- this.previousURL = decodeURIComponent(window.location.hash.split('=')[1]);
-
- this.setMessage();
-
- this.authService.loading$.subscribe((loading) => {
- if (!loading) {
- this.authService.isAuthenticated$.subscribe((authenticated) => {
- console.log(authenticated);
- if (authenticated) {
- this.handleRedirection();
- } else {
- // this.authService.login();
- }
- });
- }
- });
- }
-
- handleRedirection() {
- this.performActionAsPerType();
- }
-
- setMessage() {
- if (this.actionType === AppSettings.SIGN_CLA) {
- this.message =
- 'Wait... You are being redirected to the Configure CLA Manager.';
- return;
- }
-
- if (this.hasGerrit) {
- this.message =
- 'You are being redirected to the ' +
- this.contractType +
- ' contributor console.';
- return;
- }
-
- this.message = 'Wait... we are loading the screen';
- }
-
- performActionAsPerType() {
- if (this.actionType === AppSettings.SIGN_CLA) {
- const url = '/corporate-dashboard/' + this.projectId + '/' + this.userId;
- this.router.navigate([url], {
- queryParams: { view: AppSettings.SIGN_CLA },
- });
- return;
- }
-
- if (this.hasGerrit) {
- this.getGerritProjectInfo();
- this.getUserInfo();
- return;
- }
-
- if (this.previousURL !== undefined && this.previousURL !== 'undefined') {
- this.router.navigateByUrl(this.previousURL);
- return;
- } else {
- // Redirect to landing page.
- const redirectUrl = JSON.parse(
- this.storageService.getItem(AppSettings.REDIRECT)
- );
- this.router.navigate(
- ['/cla/project/' + this.projectId + '/user/' + this.userId],
- { queryParams: { redirect: redirectUrl } }
- );
- }
-
- // *todo: handle default case
- }
-
- getUserInfo() {
- this.claContributorService.getGerritUserInfo().subscribe(
- (response: GerritUserModel) => {
- this.userId = response.user_id;
- this.storageService.setItem(AppSettings.USER_ID, response.user_id);
- this.storageService.setItem(AppSettings.USER, response);
- this.redirectForGerritFlow();
- },
- (exception) => {
- this.message =
- 'Failed to redirect on a ' + this.contractType + ' console.';
- this.alertService.error(exception.error);
- }
- );
- }
-
- // No need to call update endpoint.
- // updateUserInfo() {
- // const autData = JSON.parse(this.storageService.getItem(AppSettings.AUTH_DATA));
- // const user: UserModel = JSON.parse(this.storageService.getItem(AppSettings.USER));
- // const data = {
- // lfEmail: autData.user_email,
- // lfUsername: autData.userid, //LF username is actually userId in the auth service/EasyCLA.
- // githubUsername: user.user_github_username,
- // githubID: user.user_github_id
- // }
- // this.claContributorService.updateUser(data).subscribe(
- // (response: UpdateUserModel) => {
- // // Update new values in local storage.
- // user.lf_username = response.lfUsername;
- // user.lf_email = response.lfEmail;
- // this.storageService.setItem(AppSettings.USER, user);
- // this.performActionAsPerType();
- // },
- // (exception) => {
- // this.alertService.error(exception.error.Message);
- // this.message = 'Error occured during updating user info. Please contact to your administrator.';
- // }
- // );
- // }
-
- getGerritProjectInfo() {
- this.claContributorService.getGerritProjectInfo(this.projectId).subscribe(
- (response: ProjectModel) => {
- this.storageService.setItem(
- AppSettings.PROJECT_NAME,
- response.project_name
- );
- this.storageService.setItem(AppSettings.PROJECT, response);
- },
- (exception) => {
- this.message =
- 'Failed to redirect on a ' + this.contractType + ' console.';
- this.claContributorService.handleError(exception);
- }
- );
- }
-
- redirectForGerritFlow() {
- if (this.contractType === 'individual') {
- const url = '/individual-dashboard/' + this.projectId + '/' + this.userId;
- this.router.navigate([url]);
- } else if (this.contractType === 'corporate') {
- const url = '/corporate-dashboard/' + this.projectId + '/' + this.userId;
- this.router.navigate([url]);
- } else {
- this.message = 'Contract type is invalid.';
- }
- }
-}
diff --git a/src/app/shared/components/page-not-found/page-not-found.component.html b/src/app/shared/components/page-not-found/page-not-found.component.html
index 617223e9..40d053d6 100644
--- a/src/app/shared/components/page-not-found/page-not-found.component.html
+++ b/src/app/shared/components/page-not-found/page-not-found.component.html
@@ -3,7 +3,8 @@
-
{{message}}
+
The page you are looking for was not found. Please
click here
+ to go back on main page or contact the administrator.
diff --git a/src/app/shared/components/page-not-found/page-not-found.component.ts b/src/app/shared/components/page-not-found/page-not-found.component.ts
index bbfc1cda..23902522 100644
--- a/src/app/shared/components/page-not-found/page-not-found.component.ts
+++ b/src/app/shared/components/page-not-found/page-not-found.component.ts
@@ -2,6 +2,8 @@
// SPDX-License-Identifier: MIT
import { Component, OnInit } from '@angular/core';
+import { StorageService } from '../../services/storage.service';
+import { AppSettings } from 'src/app/config/app-settings';
@Component({
selector: 'app-page-not-found',
@@ -10,17 +12,13 @@ import { Component, OnInit } from '@angular/core';
})
export class PageNotFoundComponent implements OnInit {
- message: string;
- actionType: string;
+ redirectUrl:string;
- constructor(
- ) { }
+ constructor(private storageService:StorageService){
+
+ }
ngOnInit(): void {
- this.message = 'Wait... we are validating session';
- // If auth0 response is null then page not exist.
- setTimeout(() => {
- this.message = 'The page you are looking for was not found.';
- }, 2000);
+ this.redirectUrl = JSON.parse(this.storageService.getItem(AppSettings.REDIRECT));
}
}
diff --git a/src/app/shared/components/project-title/project-title.component.ts b/src/app/shared/components/project-title/project-title.component.ts
index 39e4c02a..b94f9a55 100644
--- a/src/app/shared/components/project-title/project-title.component.ts
+++ b/src/app/shared/components/project-title/project-title.component.ts
@@ -1,7 +1,7 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT
-import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core';
+import { Component, EventEmitter, Output, AfterViewInit } from '@angular/core';
import { AlertService } from '../../services/alert.service';
import { ClaContributorService } from 'src/app/core/services/cla-contributor.service';
import { ProjectModel } from 'src/app/core/models/project';
@@ -14,9 +14,7 @@ import { AppSettings } from 'src/app/config/app-settings';
templateUrl: './project-title.component.html',
styleUrls: ['./project-title.component.scss']
})
-export class ProjectTitleComponent implements OnInit {
- @Input() projectId: string;
- @Input() userId: string;
+export class ProjectTitleComponent implements AfterViewInit {
@Output() errorEmitter: EventEmitter = new EventEmitter();
@Output() successEmitter: EventEmitter = new EventEmitter();
@@ -27,9 +25,10 @@ export class ProjectTitleComponent implements OnInit {
private alertService: AlertService,
private storageService: StorageService,
private claContributorService: ClaContributorService,
- ) { }
+ ) {
+ }
- ngOnInit(): void {
+ ngAfterViewInit(): void {
const hasGerrit = JSON.parse(this.storageService.getItem(AppSettings.HAS_GERRIT));
if (hasGerrit) {
this.project.project_name = JSON.parse(this.storageService.getItem(AppSettings.PROJECT_NAME));
@@ -39,34 +38,20 @@ export class ProjectTitleComponent implements OnInit {
}
validateGithubFlow() {
- if (this.projectId && this.userId) {
- const localProjectId = JSON.parse(this.storageService.getItem(AppSettings.PROJECT_ID));
- const localUserId = JSON.parse(this.storageService.getItem(AppSettings.USER_ID));
- if (localProjectId !== this.projectId) {
- this.getProject();
- } else {
- this.successEmitter.emit('Project');
- this.project.project_name = JSON.parse(this.storageService.getItem(AppSettings.PROJECT_NAME));
- }
-
- if (localUserId !== this.userId) {
- this.getUser();
- }
- } else {
- this.errorEmitter.emit(true);
- this.alertService.error('Invalid project id and user id in URL');
- }
+ this.getProject();
}
getProject() {
- if (this.projectId) {
- this.claContributorService.getProject(this.projectId).subscribe(
+ const projectId = JSON.parse(this.storageService.getItem(AppSettings.PROJECT_ID));
+ if (projectId) {
+ this.claContributorService.getProject(projectId).subscribe(
(response) => {
this.project = response;
this.storageService.setItem(AppSettings.PROJECT_NAME, this.project.project_name);
- this.storageService.setItem(AppSettings.PROJECT_ID, this.projectId);
+ this.storageService.setItem(AppSettings.PROJECT_ID, projectId);
this.storageService.setItem(AppSettings.PROJECT, this.project);
- this.successEmitter.emit('Project');
+ this.successEmitter.emit(response);
+ this.getUser();
},
(exception) => {
this.errorEmitter.emit(true);
@@ -75,19 +60,19 @@ export class ProjectTitleComponent implements OnInit {
);
} else {
this.errorEmitter.emit(true);
- this.alertService.error('Invalid project id in URL');
+ this.alertService.error('There is an invalid project ID in the URL');
}
}
getUser() {
- if (this.userId) {
- this.claContributorService.getUser(this.userId).subscribe(
+ const userId = JSON.parse(this.storageService.getItem(AppSettings.USER_ID));
+ if (userId) {
+ this.claContributorService.getUser(userId).subscribe(
(response) => {
this.user = response;
- this.storageService.setItem(AppSettings.USER_ID, this.userId);
+ this.storageService.setItem(AppSettings.USER_ID, userId);
this.storageService.setItem(AppSettings.USER, this.user);
- this.successEmitter.emit('User');
},
(exception) => {
this.errorEmitter.emit(true);
@@ -96,7 +81,7 @@ export class ProjectTitleComponent implements OnInit {
);
} else {
this.errorEmitter.emit(true);
- this.alertService.error('Invalid user id in URL');
+ this.alertService.error('There is an invalid user ID in the URL');
}
}
}
\ No newline at end of file
diff --git a/src/app/shared/services/auth.service.ts b/src/app/shared/services/auth.service.ts
index cf07914f..2787f816 100644
--- a/src/app/shared/services/auth.service.ts
+++ b/src/app/shared/services/auth.service.ts
@@ -4,7 +4,7 @@
// SPDX-License-Identifier: MIT
import { Injectable } from '@angular/core';
-import { BehaviorSubject, combineLatest, from, Observable, of, throwError } from 'rxjs';
+import { BehaviorSubject, from, Observable, of, throwError } from 'rxjs';
import createAuth0Client from '@auth0/auth0-spa-js';
import Auth0Client from '@auth0/auth0-spa-js/dist/typings/Auth0Client';
import { catchError, concatMap, shareReplay, tap } from 'rxjs/operators';
@@ -79,16 +79,6 @@ export class AuthService {
}
async initializeApplication() {
- // On initial load, check authentication state with authorization server
- // Set up local auth streams if user is already authenticated
- // const params = this.currentHref;
- // console.log(params)
- // if (params.includes('code=') && params.includes('state=')) {
- // console.log('Auth0 code and state are found.');
- // this.handleAuthCallback();
- // return;
- // }
-
await this.localAuthSetup();
this.handlerReturnToAfterLogout();
}
@@ -135,7 +125,7 @@ export class AuthService {
if (button) {
button.click();
}
- }, 1500);
+ }, 500);
}
logout() {
@@ -154,8 +144,9 @@ export class AuthService {
client_id: this.auth0Options.clientId,
returnTo: `${window.location.origin}${searchPart}${fragmentPart}`,
};
- this.auth0Client$.subscribe((client: Auth0Client) =>
- client.logout(request)
+ this.auth0Client$.subscribe((client: Auth0Client) =>{
+ client.logout(request);
+ }
);
}
@@ -246,16 +237,6 @@ export class AuthService {
return '';
}
- private getTargetRouteFromAppState(appState) {
- if (!appState) {
- return '/';
- }
- const { returnTo, target, targetUrl } = appState;
- return (
- this.getTargetRouteFromReturnTo(returnTo) || target || targetUrl || '/'
- );
- }
-
private getTargetRouteFromReturnTo(returnTo) {
if (!returnTo) {
return '';
@@ -270,44 +251,6 @@ export class AuthService {
return pathname || '/';
}
- private handleAuthCallback() {
- // Call when app reloads after user logs in with Auth0
- const params = this.currentHref;
-
- if (params.includes('code=') && params.includes('state=')) {
- let targetRoute = ''; // Path to redirect to after login processsed
- const authComplete$ = this.handleRedirectCallback$.pipe(
- // Have client, now call method to handle auth callback redirect
- tap((cbRes: any) => {
- targetRoute = this.getTargetRouteFromAppState(cbRes.appState);
- }),
- concatMap(() => combineLatest([this.getUser$(), this.isAuthenticated$])),
- catchError((err) => {
- console.log('Error occured while getting Auth0 data ', { err });
- this.checkUserSessionByCookie();
- return of('invalid_state');
- })
- );
- // Subscribe to authentication completion observable
- // Response will be an array of user and login status
- authComplete$.subscribe((message: any) => {
- this.loading$.next(false);
- if (message === 'invalid_state') {
- console.log('triggering login by invali_state ');
- this.login();
- return;
- }
-
- if (!targetRoute) {
- return this.router.navigateByUrl('/auth');
- }
- const url = '/auth?targetRoute=' + (targetRoute || '');
- this.router.navigateByUrl(url);
- });
- }
- }
-
-
/* Extra method added */
private setSession(authResult): void {
const sessionData = {
diff --git a/src/app/shared/shared.module.ts b/src/app/shared/shared.module.ts
index c952477a..a2e19c17 100644
--- a/src/app/shared/shared.module.ts
+++ b/src/app/shared/shared.module.ts
@@ -15,7 +15,6 @@ import { CheckboxComponent } from './components/checkbox/checkbox.component';
import { AuthService } from './services/auth.service';
import { LfxHeaderService } from './services/lfx-header.service';
import { InterceptorService } from './services/interceptor.service';
-import { AuthComponent } from './components/auth/auth.component';
import { FooterComponent } from './components/footer/footer.component';
import { ConsentComponent } from './components/consent/consent.component';
import { CommonModule } from '@angular/common';
@@ -31,7 +30,6 @@ import { CommonModule } from '@angular/common';
ProjectTitleComponent,
TrimCharactersPipe,
CheckboxComponent,
- AuthComponent,
FooterComponent,
ConsentComponent
],
diff --git a/yarn.lock b/yarn.lock
index 46f3b87b..f1140ea4 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4214,6 +4214,11 @@ detect-node@^2.0.4:
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1"
integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==
+detectincognitojs@^1.5.0:
+ version "1.5.0"
+ resolved "https://registry.yarnpkg.com/detectincognitojs/-/detectincognitojs-1.5.0.tgz#0f2691d601ed3437a8bfaa0f1fde0dfdab67e2b4"
+ integrity sha512-O4tgjDp41GnOYZNMVK0XhSeMQN7AGHez2Wz+tVf4VO0Zkn3isAxADjZBwGvL1BRw4ueNEQ6x+1gBHrWElXoBqA==
+
dezalgo@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81"