mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
Automated merge with ssh://anarayanan@mozilla.com@hg.mozilla.org/labs/weave
This commit is contained in:
commit
e1a9e953e7
@ -226,12 +226,12 @@ PasswordTracker.prototype = {
|
||||
_loginCount: 0,
|
||||
get score() {
|
||||
var count = this._loginManager.countLogins("", "", "");
|
||||
var score = Math.abs(this._loginCount - count) * 15;
|
||||
var score = (Math.abs(this._loginCount - count) * 15) + 30;
|
||||
|
||||
if (score >= 100)
|
||||
return 100;
|
||||
else
|
||||
return score + 30;
|
||||
return score;
|
||||
},
|
||||
|
||||
resetScore: function PasswordTracker_resetScore() {
|
||||
|
Loading…
Reference in New Issue
Block a user