Skip to content

Commit

Permalink
Fix a javascript error in the registration page when security level w…
Browse files Browse the repository at this point in the history
…as higher than the minimum - thanks scripple for reporting and fixing my bug

Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Mar 3, 2014
1 parent b9101fe commit 69ddb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/default/scripts/register.js
Expand Up @@ -162,7 +162,7 @@ elkRegister.prototype.refreshMainPassword = function(called_from_verify)
// Any reserved fields?
for (var i in this.verificationFields)
{
if (this.verificationFields.i[4] === 'reserved' && this.verificationFields.i[1].value && curPass.indexOf(this.verificationFields.i[1].value) !== -1)
if (this.verificationFields[i][4] === 'reserved' && this.verificationFields[i][1].value && curPass.indexOf(this.verificationFields[i][1].value) !== -1)
stringIndex = 'password_reserved';
}

Expand Down

0 comments on commit 69ddb70

Please sign in to comment.