1
0
mirror of https://github.com/bitwarden/web synced 2026-01-07 11:03:16 +00:00

Resolve org user confirm not showing error when hide fingerprint is enabled (#918)

This commit is contained in:
Oscar Hinton
2021-04-09 00:46:16 +02:00
committed by GitHub
parent 133d30ba97
commit f81ad479dd
4 changed files with 47 additions and 47 deletions

View File

@@ -42,10 +42,10 @@ export class WeakPasswordsReportComponent extends CipherReportComponent implemen
const weakPasswordCiphers: CipherView[] = [];
const isUserNameNotEmpty = (c: CipherView): boolean => {
return c.login.username != null && c.login.username.trim() !== '';
}
const getCacheKey = (c:CipherView): string => {
};
const getCacheKey = (c: CipherView): string => {
return c.login.password + '_____' + (isUserNameNotEmpty(c) ? c.login.username : '');
}
};
allCiphers.forEach(c => {
if (c.type !== CipherType.Login || c.login.password == null || c.login.password === '' || c.isDeleted) {