mirror of
https://github.com/MichaelGrafnetter/DSInternals
synced 2025-02-20 13:06:50 +00:00
Fixed #50
This commit is contained in:
parent
6077cd2b39
commit
3ccfd2c1a1
@ -184,7 +184,7 @@
|
||||
this.TestWeakHashes();
|
||||
}
|
||||
|
||||
if (!this.SkipDuplicatePasswordTest)
|
||||
if (!this.SkipDuplicatePasswordTest.IsPresent)
|
||||
{
|
||||
// Find password duplicates
|
||||
this.TestDuplicateHash();
|
||||
@ -194,7 +194,10 @@
|
||||
protected override void EndProcessing()
|
||||
{
|
||||
// Process duplicate passwords
|
||||
this.result.DuplicatePasswordGroups = this.duplicatePasswordDictionary.Values.Where(list => list.Count > 1).ToList();
|
||||
if(!this.SkipDuplicatePasswordTest.IsPresent)
|
||||
{
|
||||
this.result.DuplicatePasswordGroups = this.duplicatePasswordDictionary.Values.Where(list => list.Count > 1).ToList();
|
||||
}
|
||||
|
||||
// The processing has finished, so return the results.
|
||||
this.WriteObject(this.result);
|
||||
|
Loading…
Reference in New Issue
Block a user