Skip to content

Commit

Permalink
PW Recovery user notification
Browse files Browse the repository at this point in the history
Added notification to display password recovery couldnt not find anything.
  • Loading branch information
d3agle committed Sep 20, 2015
1 parent 05e485a commit b9b2597
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Server/Forms/FrmPasswordRecovery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ public void AddPasswords(RecoveredAccount[] logins, string identification)
Invoke(new MethodInvoker(() => { lstPasswords.Items.AddRange(items.ToArray()); }));
UpdateRecoveryCount();
}

if (logins.Length == 0)
MessageBox.Show("Could not recover anything!", "Password Recovery", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch
{
Expand Down

0 comments on commit b9b2597

Please sign in to comment.