ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: # GG-843 Enable limit attempts.
Date Tue, 15 Sep 2015 02:23:32 GMT
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 <anovikov@gridgain.com>
Authored: Tue Sep 15 09:24:48 2015 +0700
Committer: Andrey <anovikov@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.


Mime
View raw message