You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2015/09/15 04:23:32 UTC

ignite git commit: # GG-843 Enable limit attempts.

Repository: ignite
Updated Branches:
  refs/heads/ignite-843 26e3eef89 -> 04b37e782


# GG-843 Enable limit attempts.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/04b37e78
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/04b37e78
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/04b37e78

Branch: refs/heads/ignite-843
Commit: 04b37e782b1280ab11dbf548a1b2a2a5cc5f2710
Parents: 26e3eef
Author: Andrey <an...@gridgain.com>
Authored: Tue Sep 15 09:24:48 2015 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Tue Sep 15 09:24:48 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/db.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/04b37e78/modules/control-center-web/src/main/js/db.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/db.js b/modules/control-center-web/src/main/js/db.js
index 7053ef5..99408c2 100644
--- a/modules/control-center-web/src/main/js/db.js
+++ b/modules/control-center-web/src/main/js/db.js
@@ -39,7 +39,7 @@ var AccountSchema = new Schema({
 });
 
 // Install passport plugin.
-AccountSchema.plugin(passportLocalMongoose, {usernameField: 'email', limitAttempts: false, lastLoginField: 'lastLogin',
+AccountSchema.plugin(passportLocalMongoose, {usernameField: 'email', limitAttempts: true, lastLoginField: 'lastLogin',
     usernameLowerCase: true});
 
 // Configure transformation to JSON.