diff --git a/src/app/shared/log-in/methods/password/log-in-password.component.ts b/src/app/shared/log-in/methods/password/log-in-password.component.ts index 2bcd2ffa6b..dc871108f9 100644 --- a/src/app/shared/log-in/methods/password/log-in-password.component.ts +++ b/src/app/shared/log-in/methods/password/log-in-password.component.ts @@ -62,32 +62,12 @@ export class LogInPasswordComponent implements OnInit { */ public hasMessage = false; - /** - * Whether user is authenticated. - * @type {Observable} - */ -/* public isAuthenticated: Observable;*/ - - /** - * True if the authentication is loading. - * @type {boolean} - */ -/* - public loading: Observable; -*/ - /** * The authentication form. * @type {FormGroup} */ public form: FormGroup; -/* /!** - * Component state. - * @type {boolean} - *!/ - private alive = true;*/ - @Input() authMethodModel: InjectedAuthMethodModel; /** @@ -110,8 +90,6 @@ export class LogInPasswordComponent implements OnInit { * @method ngOnInit */ public ngOnInit() { - // set isAuthenticated -/* this.isAuthenticated = this.store.pipe(select(isAuthenticated));*/ // set formGroup this.form = this.formBuilder.group({ @@ -137,29 +115,8 @@ export class LogInPasswordComponent implements OnInit { }) ); -/* // set loading - this.loading = this.store.pipe(select(isAuthenticationLoading)); - - // subscribe to success - this.store.pipe( - select(isAuthenticated), - takeWhile(() => this.alive), - filter((authenticated) => authenticated)) - .subscribe(() => { - this.authService.redirectAfterLoginSuccess(this.authMethodModel.isStandalonePage); - } - );*/ - } - /** - * Lifecycle hook that is called when a directive, pipe or service is destroyed. - * @method ngOnDestroy - */ -/* public ngOnDestroy() { - this.alive = false; - }*/ - /** * Reset error or message. */ diff --git a/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.html b/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.html index 19aaa46808..bd62a27f78 100644 --- a/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.html +++ b/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.html @@ -1,9 +1,8 @@ - + diff --git a/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.scss b/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.scss index bb0e91c64e..e69de29bb2 100644 --- a/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.scss +++ b/src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.scss @@ -1,3 +0,0 @@ -.shibb { - color: #FFFFFF; -}