use 128 byte passwords

This commit is contained in:
Girish Ramakrishnan
2016-06-17 09:46:07 -05:00
parent 7e57f31d14
commit 2017d668a9
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ function add(appId, type, redirectURI, scope, callback) {
if (error) return callback(error);
var id = 'cid-' + uuid.v4();
var clientSecret = hat(256);
var clientSecret = hat(8 * 128);
clientdb.add(id, appId, type, clientSecret, redirectURI, scope, function (error) {
if (error) return callback(error);