mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 20:43:08 +00:00
Dynamic rendering of auth methods via decorator
This commit is contained in:
@@ -20,6 +20,8 @@ import {CoreState} from '../../../../core/core.reducers';
|
||||
import {isNotEmpty} from '../../../empty.util';
|
||||
import {fadeOut} from '../../../animations/fade';
|
||||
import {AuthService} from '../../../../core/auth/auth.service';
|
||||
import { AuthMethodType } from '../../authMethods-type';
|
||||
import { renderAuthMethodFor } from '../../authMethods-decorator';
|
||||
|
||||
/**
|
||||
* /users/sign-in
|
||||
@@ -31,6 +33,7 @@ import {AuthService} from '../../../../core/auth/auth.service';
|
||||
styleUrls: ['./log-in-password.component.scss'],
|
||||
animations: [fadeOut]
|
||||
})
|
||||
@renderAuthMethodFor(AuthMethodType.Password)
|
||||
export class LogInPasswordComponent implements OnDestroy, OnInit {
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user