|
|
|
|
@ -24,55 +24,55 @@ export class ForgotComponent implements OnInit {
|
|
|
|
|
public logo = 'assets/icon/login/lock.png';
|
|
|
|
|
public recentPasswordNote = {
|
|
|
|
|
yellowImg: '../assets/imgs/mohemm-action/info.png',
|
|
|
|
|
text: 'Do not user recent password'
|
|
|
|
|
text: 'Do not user recent password.'
|
|
|
|
|
};
|
|
|
|
|
public isLowerCase = {
|
|
|
|
|
blankImg: '../assets/icon/blank.svg',
|
|
|
|
|
greenImg: '../assets/icon/green.svg',
|
|
|
|
|
redImg: '../assets/imgs/close.svg',
|
|
|
|
|
text: 'At least one lowercase',
|
|
|
|
|
text: 'At least one lowercase.',
|
|
|
|
|
isMatch: false
|
|
|
|
|
};
|
|
|
|
|
public isUpperCase = {
|
|
|
|
|
blankImg: '../assets/icon/blank.svg',
|
|
|
|
|
greenImg: '../assets/icon/green.svg',
|
|
|
|
|
redImg: '../assets/imgs/close.svg',
|
|
|
|
|
text: 'At least one uppdercase',
|
|
|
|
|
text: 'At least one uppdercase.',
|
|
|
|
|
isMatch: false
|
|
|
|
|
};
|
|
|
|
|
public isLetterCase = {
|
|
|
|
|
blankImg: '../assets/icon/blank.svg',
|
|
|
|
|
greenImg: '../assets/icon/green.svg',
|
|
|
|
|
redImg: '../assets/imgs/close.svg',
|
|
|
|
|
text: 'At least one Letter',
|
|
|
|
|
text: 'At least one Letter.',
|
|
|
|
|
isMatch: false
|
|
|
|
|
};
|
|
|
|
|
public isHasDigit = {
|
|
|
|
|
blankImg: '../assets/icon/blank.svg',
|
|
|
|
|
greenImg: '../assets/icon/green.svg',
|
|
|
|
|
redImg: '../assets/imgs/close.svg',
|
|
|
|
|
text: 'At least one nomeric',
|
|
|
|
|
text: 'At least one nomeric.',
|
|
|
|
|
isMatch: false
|
|
|
|
|
};
|
|
|
|
|
public isMinLength = {
|
|
|
|
|
blankImg: '../assets/icon/blank.svg',
|
|
|
|
|
greenImg: '../assets/icon/green.svg',
|
|
|
|
|
redImg: '../assets/imgs/close.svg',
|
|
|
|
|
text: 'Minimum 8 characters',
|
|
|
|
|
text: 'Minimum 8 characters.',
|
|
|
|
|
isMatch: false
|
|
|
|
|
};
|
|
|
|
|
public isRepeatedLetter = {
|
|
|
|
|
blankImg: '../assets/icon/blank.svg',
|
|
|
|
|
greenImg: '../assets/icon/green.svg',
|
|
|
|
|
redImg: '../assets/imgs/close.svg',
|
|
|
|
|
text: 'Do not add repeating letters',
|
|
|
|
|
text: 'Do not add repeating letters.',
|
|
|
|
|
isMatch: false
|
|
|
|
|
};
|
|
|
|
|
public isContainSpecialChar = {
|
|
|
|
|
blankImg: '../assets/icon/blank.svg',
|
|
|
|
|
greenImg: '../assets/icon/green.svg',
|
|
|
|
|
redImg: '../assets/imgs/close.svg',
|
|
|
|
|
text: 'It should contain special character',
|
|
|
|
|
text: 'It should contain special character.',
|
|
|
|
|
isMatch: false
|
|
|
|
|
};
|
|
|
|
|
public confirmMatchNew = {
|
|
|
|
|
@ -86,7 +86,7 @@ export class ForgotComponent implements OnInit {
|
|
|
|
|
blankImg: '../assets/icon/blank.svg',
|
|
|
|
|
greenImg: '../assets/icon/green.svg',
|
|
|
|
|
redImg: '../assets/imgs/close.svg',
|
|
|
|
|
text: 'password should not contain the username.',
|
|
|
|
|
text: 'password should not contain the user name.',
|
|
|
|
|
isMatch: false
|
|
|
|
|
};
|
|
|
|
|
public userId: string;
|
|
|
|
|
|