Changed selector of ds-auth-methods

This commit is contained in:
Julius Gruber
2019-10-08 10:33:21 +02:00
parent 95239e0590
commit da7b7f92a0
3 changed files with 5 additions and 10 deletions

View File

@@ -3,11 +3,8 @@
<div> <div>
<img class="mb-4 login-logo" src="assets/images/dspace-logo.png"> <img class="mb-4 login-logo" src="assets/images/dspace-logo.png">
<h1 class="h3 mb-0 font-weight-normal">{{"login.form.header" | translate}}</h1> <h1 class="h3 mb-0 font-weight-normal">{{"login.form.header" | translate}}</h1>
<!-- <ds-log-in <ds-log-in
[isStandalonePage]="true"></ds-log-in>--> [isStandalonePage]="true"></ds-log-in>
<ds-auth-methods
[isStandalonePage]="true">
</ds-auth-methods>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -6,10 +6,8 @@
class="px-1">{{ 'nav.login' | translate }}</a> class="px-1">{{ 'nav.login' | translate }}</a>
<div id="loginDropdownMenu" [ngClass]="{'pl-3 pr-3': (loading | async)}" ngbDropdownMenu <div id="loginDropdownMenu" [ngClass]="{'pl-3 pr-3': (loading | async)}" ngbDropdownMenu
aria-labelledby="dropdownLogin"> aria-labelledby="dropdownLogin">
<!-- <ds-log-in <ds-log-in
[isStandalonePage]="false"></ds-log-in>--> [isStandalonePage]="false"></ds-log-in>
<ds-auth-methods
[isStandalonePage]="false"></ds-auth-methods>
</div> </div>
</div> </div>
</li> </li>

View File

@@ -6,7 +6,7 @@ import { getAuthenticationMethods, isAuthenticated, isAuthenticationLoading } fr
import { CoreState } from '../../core/core.reducers'; import { CoreState } from '../../core/core.reducers';
@Component({ @Component({
selector: 'ds-auth-methods', selector: 'ds-log-in',
templateUrl: './log-in.component.html', templateUrl: './log-in.component.html',
styleUrls: ['./log-in.component.scss'] styleUrls: ['./log-in.component.scss']
}) })