Skip to content

Commit

Permalink
[DURACOM-204][DSpace#2622] Makes forgot-password link removable
Browse files Browse the repository at this point in the history
(cherry picked from commit 2429c36)
  • Loading branch information
vins01-4science authored and Mattia Vianelli committed Jul 16, 2024
1 parent 644c48d commit c03edee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class LogInPasswordComponent implements OnInit {

/**
* The authentication form.
* @type {FormGroup}
* @type {UntypedFormGroup}
*/
public form: UntypedFormGroup;

Expand Down Expand Up @@ -125,7 +125,7 @@ export class LogInPasswordComponent implements OnInit {
return message;
})
);

this.canRegister$ = this.authorizationService.isAuthorized(FeatureID.EPersonRegistration).pipe(shareReplay(1));
this.canForgot$ = this.authorizationService.isAuthorized(FeatureID.EPersonForgotPassword).pipe(shareReplay(1));
this.canShowDivider$ =
Expand Down

0 comments on commit c03edee

Please sign in to comment.