mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[DURACOM-204][#2622] Makes forgot-password link removable
This commit is contained in:
@@ -64,7 +64,7 @@ export class LogInPasswordComponent implements OnInit {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The authentication form.
|
* The authentication form.
|
||||||
* @type {FormGroup}
|
* @type {UntypedFormGroup}
|
||||||
*/
|
*/
|
||||||
public form: UntypedFormGroup;
|
public form: UntypedFormGroup;
|
||||||
|
|
||||||
@@ -125,7 +125,7 @@ export class LogInPasswordComponent implements OnInit {
|
|||||||
return message;
|
return message;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
this.canRegister$ = this.authorizationService.isAuthorized(FeatureID.EPersonRegistration).pipe(shareReplay(1));
|
this.canRegister$ = this.authorizationService.isAuthorized(FeatureID.EPersonRegistration).pipe(shareReplay(1));
|
||||||
this.canForgot$ = this.authorizationService.isAuthorized(FeatureID.EPersonForgotPassword).pipe(shareReplay(1));
|
this.canForgot$ = this.authorizationService.isAuthorized(FeatureID.EPersonForgotPassword).pipe(shareReplay(1));
|
||||||
this.canShowDivider$ =
|
this.canShowDivider$ =
|
||||||
|
Reference in New Issue
Block a user