Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha committed Nov 27, 2024
1 parent 1d1a1a5 commit ab9ca5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Component, Input, Output, EventEmitter, OnChanges, OnInit } from '@angular/core';
import { PasswordChecks } from './password-checks.model';
import { PasswordCriteria } from './password-criteria.model';

@Component({
selector: 'app-password-check-tooltip',
Expand All @@ -19,7 +20,7 @@ export class PasswordCheckTooltipComponent implements OnChanges, OnInit {
specialCharValid: false,
};

passwordCriteria = [
passwordCriteria: PasswordCriteria[] = [
{
isValid: this.passwordChecks.lengthValid,
message: '12 to 32 characters',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface PasswordCriteria {
isValid: boolean;
message: string;
}

0 comments on commit ab9ca5f

Please sign in to comment.