tokens table always has canonical scope

This commit is contained in:
Girish Ramakrishnan
2018-06-17 22:52:36 -07:00
parent b6b7d08af3
commit 898cbd01b3
7 changed files with 12 additions and 11 deletions

View File

@@ -167,7 +167,7 @@ describe('Cloudron', function () {
userId_1 = result.body.id;
// HACK to get a token for second user (passwords are generated and the user should have gotten a password setup link...)
tokendb.add(token_1, userId_1, 'test-client-id', Date.now() + 100000, accesscontrol.SCOPE_ANY, callback);
tokendb.add(token_1, userId_1, 'test-client-id', Date.now() + 100000, 'cloudron', callback);
});
}
], done);