Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/app/login/login-form/login-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@
{{ 'labels.buttons.Login' | translate }}
<mat-spinner [diameter]="20" *ngIf="loading"></mat-spinner>
</button>

<button
type="button"
mat-button
class="login-button flex-align-center"
(click)="forgotPassword()"
[disabled]="loading"
>
{{ 'labels.links.Forgot Password?' | translate }}
</button>
</form>
</div>

Expand Down
9 changes: 0 additions & 9 deletions src/app/login/login-form/login-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,13 @@ export class LoginFormComponent implements OnInit {
*
* Changes the input type between 'password' and 'text'.
*/

togglePasswordVisibility() {
this.passwordInputType = this.passwordInputType === 'password' ? 'text' : 'password';
}

/**
* TODO: Decision to be taken on providing this feature.
*/
forgotPassword() {
console.log('Forgot Password feature currently unavailable.');
}

/**
* Creates login form with validation rules.
*/

private createLoginForm() {
this.loginForm = this.formBuilder.group({
username: [
Expand Down
1 change: 0 additions & 1 deletion src/app/login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ <h1 class="mat-display-1 cover-title">{{ 'APP_NAME' | translate }}</h1>
Login
Reset Password
Two Factor Authentication
Forgot Password (TODO: Decision to be taken on providing this feature.)
-->
<mifosx-login-form *ngIf="!resetPassword && !twoFactorAuthenticationRequired"></mifosx-login-form>

Expand Down